1 | !636 |
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 #2000550
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: | #2000551 |
Snippet name: | Single-frame UI prelude/postlude |
Eternal ID of this version: | #2000551/1 |
Text MD5: | 82cc1388ad01f67effad3fafaf63f008 |
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:24:48 |
Source code size: | 425 bytes / 21 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 643 / 494 |
Referenced in: | [show references] |