1 | static JPanel jRightAlignedButtons(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 jRightAlignedLine(l); |
10 | } |
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: | 564 / 615 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |