static void clearPopupMenu(final JPopupMenu menu) { if (menu != null) swing { menu.removeAll(); } }
Began life as a copy of #1019360
download show line numbers debug dex old transpilations
Travelled to 10 computer(s): bhatertpkbcr, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020522 |
Snippet name: | clearPopupMenu - remove all items |
Eternal ID of this version: | #1020522/1 |
Text MD5: | 5494ba27b44f2732ae6485857fccdbab |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-25 19:09:31 |
Source code size: | 103 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 327 / 566 |
Referenced in: | [show references] |