1 | !629 // standard function adder |
2 | !592 // auto-import |
3 | !614 // actionListener { |
4 | !619 // standard classes (LetterLayout, CenteredLine) |
5 | |
6 | import java.awt.*; |
7 | import java.util.List; |
8 | |
9 | public class main { |
10 | public static void main(String[] args) { |
11 | JFrame frame = new JFrame("A JavaX Frame"); |
12 | |
13 | [...] |
14 | |
15 | frame.add(panel); |
16 | frame.setBounds(100, 100, 500, 400); |
17 | frame.setVisible(true); |
18 | exitOnFrameClose(frame); |
19 | } |
20 | } |
Began life as a copy of #1000287
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: | #1000288 |
Snippet name: | Single-frame UI prelude/postlude |
Eternal ID of this version: | #1000288/1 |
Text MD5: | 378912f3ffb0b9c44f834d146940ddb0 |
Author: | stefan |
Category: | javax |
Type: | New Tinybrain snippet |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-06-20 16:57:06 |
Source code size: | 448 bytes / 20 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 669 / 407 |
Referenced in: | [show references] |