1 | static boolean _noExit = false; |
2 | |
3 | static void exitOnFrameClose(JFrame frame) { |
4 | if (!_noExit) |
5 | frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); |
6 | } |
Began life as a copy of #2000368
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1000898 |
Snippet name: | exitOnFrameClose |
Eternal ID of this version: | #1000898/1 |
Text MD5: | f064182790e0e52387532f2e6e8ab997 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-09-06 01:46:51 |
Source code size: | 172 bytes / 6 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 621 / 940 |
Referenced in: | [show references] |