!2000372 JPanel panel = new JPanel(new GridLayout(2, 1)); final JTextArea textArea = new JTextArea(); panel.add(new JScrollPane(textArea)); JButton btnBla = new JButton("Bla"); 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
| ID | Author/Program | Comment | Date | |
|---|---|---|---|---|
| 991 | #1000604 (pitcher) | 2015-08-20 15:28:24 | ||
| 990 | #1000610 | Edit suggestion: !636 !629 main { static Object androidContext; static String programID; public static void main(String[] args) throws Exception { !2000372 JPanel panel = new JPanel(new GridLayout(2, 1)); final JTextArea textArea = new JTextArea(); panel.add(new JScrollPane(textArea)); JButton btnBla = new JButton("Bla"); panel.add(new CenteredLine(btnBla)); }} | 2015-08-20 12:04:33 | delete |
| 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: | 1375 / 188 |
| Referenced in: | #635 - A frame with two things #3000189 - Answer for stefanreich(>> t bla) #3000190 - Answer for stefanreich(>> t 20 questions) #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |