static void titlePopupMenuItem(Component c, fS name, fO action) { titlePopupMenu(c, voidfunc(JPopupMenu menu) { addMenuItem(menu, name, action); }); } static void titlePopupMenuItem(Component c, final JMenuItem menuItem) { titlePopupMenu(c, voidfunc(JPopupMenu menu) { addMenuItem(menu, menuItem); }); }
Began life as a copy of #1006548
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1006764 |
| Snippet name: | titlePopupMenuItem - adds to the menu if it already exists |
| Eternal ID of this version: | #1006764/7 |
| Text MD5: | 4dd8c0ae5d378c8d0ae81374513307ff |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-06 13:23:23 |
| Source code size: | 330 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 757 / 798 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |