14
LINES
< > BotCompany Repo | #593
// How to make one window correctly in JavaX (including calling System.exit) / Auto-Import-Test
1 | !592 // gets run with translator #592 (auto-import)
|
2 |
|
3 | public class main {
|
4 | public static void main(String[] args) {
|
5 | JFrame frame = new JFrame("Auto-Import-Test succeeded! :)");
|
6 | frame.setBounds(100, 100, 500, 400);
|
7 | frame.setVisible(true);
|
8 | exitOnFrameClose(frame);
|
9 | }
|
10 |
|
11 | static void exitOnFrameClose(JFrame frame) {
|
12 | frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
13 | }
|
14 | } |
Author comment
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, kmhbujppghqa, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
ID |
Author/Program |
Comment |
Date |
744 | #1000610 (pitcher) | | 2015-08-18 00:07:07 |
743 | #1000604 (pitcher) | | 2015-08-18 00:07:22 |
add comment
Snippet ID: |
#593 |
Snippet name: |
How to make one window correctly in JavaX (including calling System.exit) / Auto-Import-Test |
Eternal ID of this version: |
#593/1 |
Text MD5: |
dd6740ade2cf5c06547c83228214f4e9 |
Author: |
stefan |
Category: |
javax |
Type: |
JavaX source code |
Public (visible to everyone): |
Yes |
Archived (hidden from active list): |
No |
Created/modified: |
2015-05-12 20:56:00 |
Source code size: |
409 bytes / 14 lines |
Pitched / IR pitched: |
No / Yes |
Views / Downloads: |
1108 / 1393 |
Referenced in: |
[show references] |