1 | !663 |
2 | !sf |
3 | !actionListener { |
4 | !x619 // standard classes (LetterLayout, CenteredLine) |
5 | |
6 | import java.awt.*; |
7 | import java.awt.event.*; |
8 | import java.util.List; |
9 | |
10 | public class main { |
11 | public static void main(String[] args) { |
12 | JFrame frame = new JFrame("A JavaX Frame"); |
13 | |
14 | [...] |
15 | |
16 | frame.add(panel); |
17 | frame.setBounds(100, 100, 500, 400); |
18 | frame.setVisible(true); |
19 | exitOnFrameClose(frame); |
20 | } |
21 | } |
Began life as a copy of #2000527
Snippet is not live.
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #2000550 |
Snippet name: | Single-frame UI prelude/postlude |
Eternal ID of this version: | #2000550/1 |
Text MD5: | 10815801e58bb005a8ce0e5134f92db0 |
Author: | stefan |
Category: | javax |
Type: | New Tinybrain snippet |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-08-22 19:23:05 |
Source code size: | 425 bytes / 21 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 563 / 126 |
Referenced in: | [show references] |