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

10
LINES

< > BotCompany Repo | #1010358 // setMenuBar

JavaX fragment (include)

1  
static void setMenuBar(final JMenuBar mb, final RootPaneContainer f) {
2  
  swing {
3  
    call(f, 'setJMenuBar, mb);
4  
    revalidate((Component) f);
5  
  }
6  
}
7  
8  
static void setMenuBar(RootPaneContainer f, JMenuBar mb) {
9  
  setMenuBar(mb, f);
10  
}

Author comment

Began life as a copy of #1004033

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1010358
Snippet name: setMenuBar
Eternal ID of this version: #1010358/3
Text MD5: 0d68965e89435b1f717a0db441315bc1
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-20 21:49:34
Source code size: 240 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 481 / 614
Version history: 2 change(s)
Referenced in: [show references]