1 | // menuMaker = voidfunc(JPopupMenu) |
2 | // return true if menu could be added |
3 | sbool titlePopupMenu(final Component c, fO menuMaker) {
|
4 | JComponent titleBar = getTitlePaneComponent(getPossiblyInternalFrame(c)); |
5 | if (titleBar == null) |
6 | ret false with print("Can't add title right click!");
|
7 | else |
8 | ret true with componentPopupMenu(titleBar, menuMaker); |
9 | } |
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: | 771 / 822 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |