Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1033555 // jflowCenter - centered FlowLayout JPanel

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (6539L/37K).

static JPanel jflowCenter(L or O... components) {
  JPanel panel = jPanel(new FlowLayout(FlowLayout.CENTER));
  ret smartAdd(panel, components);
}

Author comment

Began life as a copy of #1004363

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033555
Snippet name: jflowCenter - centered FlowLayout JPanel
Eternal ID of this version: #1033555/3
Text MD5: 4a658ea3846f871b7d326ba7b187f3f4
Transpilation MD5: 3137921a561913e5031665232affbb85
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-11-03 15:50:47
Source code size: 149 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 126 / 188
Version history: 2 change(s)
Referenced in: [show references]