// menuMaker = voidfunc(JPopupMenu) // return true if menu could be added sbool titlePopupMenu(final Component c, fO menuMaker) { JComponent titleBar = getTitlePaneComponent(getPossiblyInternalFrame(c)); if (titleBar == null) ret false with print("Can't add title right click!"); else ret true with componentPopupMenu(titleBar, menuMaker); }
Began life as a copy of #1003664
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005777 |
Snippet name: | titlePopupMenu - add popup menu items to title bars (Substance L&F only) |
Eternal ID of this version: | #1005777/5 |
Text MD5: | f0c18ab634c0cd06ae374b5aaab29139 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-10 02:04:54 |
Source code size: | 363 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 565 / 606 |
Version history: | 4 change(s) |
Referenced in: | [show references] |