1 | !2000372 |
2 | |
3 | JPanel panel = new JPanel(new GridLayout(2, 1)); |
4 | |
5 | final JTextArea textArea = new JTextArea(); |
6 | panel.add(new JScrollPane(textArea)); |
7 | |
8 | JButton btnBla = new JButton("Bla");
|
9 | panel.add(new CenteredLine(btnBla)); |
Snippet is not live.
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
2 comment(s) hidden. show
| Snippet ID: | #2000373 |
| Snippet name: | UI skeleton test |
| Eternal ID of this version: | #2000373/1 |
| Text MD5: | 25f121e223127d3b6af161b539ad95f7 |
| Author: | stefan |
| Category: | javax |
| Type: | New Tinybrain snippet |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-06-20 21:27:33 |
| Source code size: | 258 bytes / 9 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 1379 / 188 |
| Referenced in: | [show references] |