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

10
LINES

< > BotCompany Repo | #1001774 // vgrid (vertical grid layout)

JavaX fragment (include)

1  
static JPanel vgrid(L parts) {
2  
  ret vgrid(asArray(parts));
3  
}
4  
5  
static JPanel vgrid(O... parts) {
6  
  new JPanel panel;
7  
  panel.setLayout(new GridLayout(parts.length, 1));
8  
  smartAdd(panel, parts);
9  
  ret panel;
10  
}

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: #1001774
Snippet name: vgrid (vertical grid layout)
Eternal ID of this version: #1001774/1
Text MD5: 2d64042203d27a371aba3ba071f309c0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-06-17 18:44:28
Source code size: 218 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 626 / 994
Referenced in: [show references]