Download Jar. Uses 1177K of libraries. Click here for Pure Java version (7624L/53K).
!7 p { jtattoo_mcWin(); JDesktopPane desktop = jDesktopPane(); showFrame(desktop); JInternalFrame f = addInternalFrame(desktop, "Test"); JMenuItem item = jMenuItem("Hello"); bindToComponent(item, r { print("Showing") }, r { print("Hiding") }); addMenu(f, "Menu", item); }
Began life as a copy of #1016722
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1016723 |
Snippet name: | JMenuItem bindToComponent Test with JTattoo (not OK, called only once) |
Eternal ID of this version: | #1016723/3 |
Text MD5: | 00ee79c06b63d6ea98af7f76d2e3a89f |
Transpilation MD5: | b4f4f5327cbd8a18c9d4977185a83cf2 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-03 20:52:34 |
Source code size: | 296 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 494 / 1067 |
Version history: | 2 change(s) |
Referenced in: | [show references] |