Download Jar. Uses 3874K of libraries. Click here for Pure Java version (2880L/20K).
!7 p-substance { new JMenuBar mb; // A menu for reference JMenu menu = new JMenu("Menu"); addMenuItem(menu, "Item", null); mb.add(menu); addDirectMenuItem(mb, "Hello", r { infoBox("Hello") }); setMenuBar(mb, showFrame()); }
Began life as a copy of #1010357
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1010360 |
| Snippet name: | Test adding a JMenuItem to JMenuBar directly [shortened, OK] |
| Eternal ID of this version: | #1010360/3 |
| Text MD5: | c6eedb98b3813edffdd6f9451faf92dc |
| Transpilation MD5: | 1ee01fec29212118733a2212343625e6 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-09-12 16:19:55 |
| Source code size: | 260 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 819 / 1833 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |