Libraryless. Click here for Pure Java version (2912L/17K).
1 | svoid addSubMenu(JMenu menu, JMenu subMenu) { |
2 | if (menu != null && subMenu != null) swing { |
3 | menu.add(subMenu); |
4 | } |
5 | } |
6 | |
7 | svoid addSubMenu(JPopupMenu menu, JMenu subMenu) { |
8 | if (menu != null && subMenu != null) swing { |
9 | menu.add(subMenu); |
10 | } |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027867 |
Snippet name: | addSubMenu |
Eternal ID of this version: | #1027867/3 |
Text MD5: | 2723ceaf814754da5bc05475e91c3691 |
Transpilation MD5: | 071ce3c18c2d1a87d23be455928d43fa |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-03-18 22:37:22 |
Source code size: | 259 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 224 / 332 |
Version history: | 2 change(s) |
Referenced in: | [show references] |