static JPanel jRightAlignedButtons(O... params) { new L<JComponent> l; for (int i = 0; i < l(params); i += 2) if (params[i] != null) if (params[i] instanceof JComponent) l.add((JComponent) params[i--]); else l.add(jbutton((S) params[i], params[i+1])); ret jRightAlignedLine(l); }
Began life as a copy of #1010175
download show line numbers debug dex old transpilations
Travelled to 10 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1019827 |
Snippet name: | jRightAlignedButtons |
Eternal ID of this version: | #1019827/3 |
Text MD5: | 5464f703db9fa39441eaf02ab8bcf964 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-27 14:14:49 |
Source code size: | 326 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 332 / 366 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |