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

9
LINES

< > BotCompany Repo | #1009953 // jTopCenter

JavaX fragment (include)

1  
static JPanel jTopCenter(Component c) {
2  
  JPanel panel = new JPanel(new GridBagLayout);
3  
  new GridBagConstraints g;
4  
  g.anchor = GridBagConstraints.PAGE_START;
5  
  g.fill = GridBagConstraints.HORIZONTAL;
6  
  g.weighty = 1;
7  
  panel.add(c, g);
8  
  ret panel;
9  
}

Author comment

Began life as a copy of #1006935

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009953
Snippet name: jTopCenter
Eternal ID of this version: #1009953/4
Text MD5: 9ec1855fdc19253ad3bc7e34ded43ae8
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-27 15:16:26
Source code size: 260 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 522 / 510
Version history: 3 change(s)
Referenced in: [show references]