static void clearMenuBar(final JMenuBar menuBar) { if (menuBar != null) swing { menuBar.removeAll(); } }
Began life as a copy of #1019360
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: | #1019388 |
Snippet name: | clearMenuBar - remove all items |
Eternal ID of this version: | #1019388/1 |
Text MD5: | f31bde041a399749acb551799e8f8cc9 |
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 18:57:23 |
Source code size: | 108 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 279 / 308 |
Referenced in: | [show references] |