1 | static JFrame showSideBySide(Component c1, Component c2) { |
2 | ret showSideBySide(programTitle(), c1, c2); |
3 | } |
4 | |
5 | static JFrame showSideBySide(S title, Component c1, Component c2) { |
6 | JFrame frame = showFrame(title); |
7 | frame.getContentPane().setLayout(new GridLayout(1, 2)); |
8 | frame.getContentPane().add(wrap(c1)); |
9 | frame.getContentPane().add(wrap(c2)); |
10 | swingUpdate(frame); |
11 | ret frame; |
12 | } |
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: | 720 / 951 |
Referenced in: | [show references] |