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

12
LINES

< > BotCompany Repo | #1001626 - showSideBySide

JavaX fragment (include)

static JFrame showSideBySide(Component c1, Component c2) {
  ret showSideBySide(programTitle(), c1, c2);
}

static JFrame showSideBySide(S title, Component c1, Component c2) {
  JFrame frame = showFrame(title);
  frame.getContentPane().setLayout(new GridLayout(1, 2));
  frame.getContentPane().add(wrap(c1));
  frame.getContentPane().add(wrap(c2));
  swingUpdate(frame);
  ret frame;
}

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1001626
Snippet name: showSideBySide
Eternal ID of this version: #1001626/1
Text MD5: db06cb5b363f59cfa4c7a4fffc01c433
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-06-20 16:59:47
Source code size: 398 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 462 / 596
Referenced in: [show references]

Formerly at http://tinybrain.de/1001626 & http://1001626.tinybrain.de