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

10
LINES

< > BotCompany Repo | #1007753 // jpanel - make JPanel

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (8980L/51K).

1  
static JPanel jpanel(LayoutManager layout, L or O... components) {
2  
  ret smartAdd(jpanel(layout), components);
3  
}
4  
5  
static JPanel jpanel(LayoutManager layout) {
6  
  ret swing(-> new JPanel(layout));
7  
}
8  
static JPanel jpanel() {
9  
  ret swing(-> new JPanel);
10  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1007753
Snippet name: jpanel - make JPanel
Eternal ID of this version: #1007753/5
Text MD5: b25b0e4846681779b590be977d097a4e
Transpilation MD5: e8da24c908705b6dc4cecd769627b0ec
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-29 15:38:31
Source code size: 260 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 709 / 797
Version history: 4 change(s)
Referenced in: [show references]