!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 GridLayout(2, 1)); final JTextArea textArea = new JTextArea(); panel.add(new JScrollPane(textArea)); JButton btnBla = new JButton("Bla"); panel.add(new CenteredLine(btnBla)); frame.add(panel); frame.setBounds(100, 100, 500, 400); frame.setVisible(true); exitOnFrameClose(frame); } }
Began life as a copy of #1000286
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: | #1000287 | 
| Snippet name: | UI skeleton prototype 2 (GridLayout) | 
| Eternal ID of this version: | #1000287/1 | 
| Text MD5: | 02600be827f715e820164d6dfe123ae6 | 
| 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:52:42 | 
| Source code size: | 677 bytes / 25 lines | 
| Pitched / IR pitched: | No / Yes | 
| Views / Downloads: | 975 / 872 | 
| Referenced in: | [show references] |