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: 728 / 1149
Version history: 3 change(s)
Referenced in: [show references]