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

3
LINES

< > BotCompany Repo | #1019360 // clearMenu - remove all items

JavaX fragment (include)

static void clearMenu(final JMenu menu) {
  if (menu != null) swing { menu.removeAll(); }
}

Author comment

Began life as a copy of #1010686

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019360
Snippet name: clearMenu - remove all items
Eternal ID of this version: #1019360/1
Text MD5: 9309ef5847f2778684d6d018fee21285
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-04 15:34:36
Source code size: 93 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 234 / 261
Referenced in: [show references]