static JMenu jDynamicScrollingMenu(fS title, final VF1<JPopupMenu> populate) { final JMenu menu = jmenu(title); swing { JMenuScroller scroller = JMenuScroller.setScrollerFor(menu); scroller.fillMenu = populate; } ret menu; }
Began life as a copy of #1020524
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1020527 |
| Snippet name: | jDynamicScrollingMenu - scrolling JMenu with menu making function |
| Eternal ID of this version: | #1020527/4 |
| Text MD5: | 92c231e5ffd85bf6acb0cf9b87ffe7ad |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-12-25 19:51:13 |
| Source code size: | 247 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 771 / 850 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |