Libraryless. Click here for Pure Java version (4218L/28K).
// _ = text, runnable, text, runnable, ... // use e.g. maxToShow := 2 to hide all but 2 buttons in a pop-down menu static JPanel jLabelWithButtons(S text, O... _) { optPar int maxToShow = 1000; ret centerAndEastWithMargin(jLabel(text), jcenteredbuttons_withPopDown(maxToShow, paramsWithout(_, 'maxToShow))); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1026643 |
| Snippet name: | jLabelWithButtons |
| Eternal ID of this version: | #1026643/6 |
| Text MD5: | 4a9eab9eda1851e7894262fbf8bee157 |
| Transpilation MD5: | 406d6df0485659f960e844f07e52b93c |
| Author: | stefan |
| Category: | javax / discord |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-01-18 16:49:37 |
| Source code size: | 318 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 417 / 574 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |