!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: | 1047 / 129 |
Referenced in: | [show references] |