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

9
LINES

< > BotCompany Repo | #1001783 // hgrid (horizontal grid layout)

JavaX fragment (include)

static JPanel hgrid(fO... parts) {
  ret swing(func -> JPanel {
    new JPanel panel;
    O[] _parts = flattenArray2(parts);
    panel.setLayout(new GridLayout(1, _parts.length));
    smartAdd(panel, _parts);
    ret panel;
  });
}

Author comment

Began life as a copy of #1001774

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: #1001783
Snippet name: hgrid (horizontal grid layout)
Eternal ID of this version: #1001783/4
Text MD5: 6a8d96f41bef77b1c91f017582c08475
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-06 18:30:59
Source code size: 239 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 661 / 1077
Version history: 3 change(s)
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1014529 - jhgrid - synonym of hgrid (horizontal grid layout)
#1016811 - hgridWithSpacing
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)