1 | static JComponent buttonsAsfillerlessHStack_noSpacing(O... params) { |
2 | new L<JComponent> l; |
3 | for (int i = 0; i < l(params); i += 2) |
4 | if (params[i] != null) |
5 | if (params[i] instanceof JComponent) |
6 | l.add((JComponent) params[i--]); |
7 | else |
8 | l.add(jbutton((S) params[i], params[i+1])); |
9 | ret dynamicHStack_noFiller_noSpacing(l); |
10 | } |
Began life as a copy of #1019405
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019411 |
Snippet name: | buttonsAsfillerlessHStack_noSpacing (filler is the invisible use-all-space component at the end) |
Eternal ID of this version: | #1019411/1 |
Text MD5: | 33ee7a4390442789a0774c958ecf0459 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-06 16:36:42 |
Source code size: | 360 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 301 / 330 |
Referenced in: | [show references] |