Libraryless. Click here for Pure Java version (2912L/17K).
svoid addSubMenu(JMenu menu, JMenu subMenu) { if (menu != null && subMenu != null) swing { menu.add(subMenu); } } svoid addSubMenu(JPopupMenu menu, JMenu subMenu) { if (menu != null && subMenu != null) swing { menu.add(subMenu); } }
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: | 223 / 330 |
Version history: | 2 change(s) |
Referenced in: | [show references] |