!629 // standard function adder !592 // auto-import !614 // actionListener { !619 // standard classes (LetterLayout, CenteredLine) import java.awt.*; import java.util.List; public class main { public static void main(String[] args) { JFrame frame = new JFrame("A JavaX Frame"); JPanel panel = new JPanel(new LetterLayout("T", "T", "B").setBorder(10)); final JTextArea textArea = new JTextArea(); panel.add("T", new JScrollPane(textArea)); JButton btnBla = new JButton("Bla"); panel.add("B", new CenteredLine(btnBla)); frame.add(panel); frame.setBounds(100, 100, 500, 400); frame.setVisible(true); exitOnFrameClose(frame); } }
Began life as a copy of #613
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: | #1000286 |
| Snippet name: | UI skeleton prototype |
| Eternal ID of this version: | #1000286/1 |
| Text MD5: | faf5ab4c45ec3632f5e4daa6082d045c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-06-20 16:51:06 |
| Source code size: | 712 bytes / 25 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 1014 / 897 |
| Referenced in: | #1000287 - UI skeleton prototype 2 (GridLayout) #3000189 - Answer for stefanreich(>> t bla) #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |