Download Jar. Libraryless. Click here for Pure Java version (6435L/46K).
!7 p-exp { showFrame(jfullcenter(jbutton("Pop me dude " + unicode_downPointingTriangle(), r { JButton btn = heldInstance(JButton); new JPopupMenu menu; menu.add(jMenuItem("Test 1")); menu.add(jMenuItem("Test 2")); menu.show(btn, 0, btn.getHeight()); }))); }
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: | #1020100 |
Snippet name: | Pop Down Button Test [show popup menu on button click] |
Eternal ID of this version: | #1020100/4 |
Text MD5: | 2d6df408e11381950010c439bf377706 |
Transpilation MD5: | 80a6ce31bff0bd40d8b83350098f5405 |
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-07 20:15:16 |
Source code size: | 292 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 326 / 869 |
Version history: | 3 change(s) |
Referenced in: | -