Download Jar. Libraryless. Click here for Pure Java version (7486L/53K).
1 | !7 |
2 | |
3 | !include once #1020525 |
4 | |
5 | p-exp {
|
6 | final JMenu menu = addMenu(showFrame("Hello"), "Test");
|
7 | for i to 30: addMenuItem(menu, str(i), null); |
8 | swing { JMenuScroller.setScrollerFor(menu); }
|
9 | } |
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: | #1020526 |
| Snippet name: | Test JMenuScroller |
| Eternal ID of this version: | #1020526/1 |
| Text MD5: | 71a56276d669c0bae7c10b8f50ca4b60 |
| Transpilation MD5: | 805b97d46843c41da09094374c3b9c99 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-12-25 19:41:28 |
| Source code size: | 199 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 799 / 1854 |
| Referenced in: | [show references] |