Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1020522 // clearPopupMenu - remove all items

JavaX fragment (include)

1  
static void clearPopupMenu(final JPopupMenu menu) {
2  
  if (menu != null) swing { menu.removeAll(); }
3  
}

Author comment

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: 328 / 567
Referenced in: [show references]