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).

static JPanel jpanel(LayoutManager layout, L or O... components) {
  ret smartAdd(jpanel(layout), components);
}

static JPanel jpanel(LayoutManager layout) {
  ret swing(-> new JPanel(layout));
}
static JPanel jpanel() {
  ret swing(-> new JPanel);
}

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: 620 / 692
Version history: 4 change(s)
Referenced in: [show references]