!636 !sf !actionListener { !x619 // standard classes (LetterLayout, CenteredLine) import java.awt.*; import java.awt.event.*; import java.util.List; public class main { public static void main(String[] args) { JFrame frame = new JFrame("A JavaX Frame"); [...] frame.add(panel); frame.setBounds(100, 100, 500, 400); frame.setVisible(true); exitOnFrameClose(frame); } }
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: | 596 / 479 |
Referenced in: | [show references] |