1 | static void titlePopupMenu_top(final Component c, final VF1<JPopupMenu> menuMaker) {
|
2 | awtIfNecessary {
|
3 | if (!isSubstanceLAF()) |
4 | print("Can't add title right click!");
|
5 | else {
|
6 | JComponent titleBar = getTitlePaneComponent(getFrame(c)); |
7 | componentPopupMenu_top(titleBar, menuMaker); |
8 | } |
9 | } |
10 | } |
Began life as a copy of #1005777
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1015888 |
| Snippet name: | titlePopupMenu_top - add popup menu items to title bars (Substance L&F only) |
| Eternal ID of this version: | #1015888/4 |
| Text MD5: | 10f34da970864aec4959bdefa76ad38a |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-29 18:17:07 |
| Source code size: | 322 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 896 / 925 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |