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  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: #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: 629 / 855
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)