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

6
LINES

< > BotCompany Repo | #1015392 // addToNavPossiblyOnTop

JavaX fragment (include)

1  
static void addToNavPossiblyOnTop(bool onTop, JNavigation nav, S name,  F0<JComponent> makeComponent) {
2  
  if (onTop)
3  
    nav.addPageOnTop(name, makeComponent);
4  
  else
5  
    nav.addPage(name, makeComponent);
6  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015392
Snippet name: addToNavPossiblyOnTop
Eternal ID of this version: #1015392/1
Text MD5: 6b5845801d8bf741226a267b20cc8436
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-13 15:58:03
Source code size: 213 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 373 / 408
Referenced in: [show references]