static boolean _noExit = false; static void exitOnFrameClose(JFrame frame) { if (!_noExit) frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); }
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: | 845 / 1177 |
| Referenced in: | #1000550 - Magnetize image (current) #1000965 - Bla #1009945 - cleanExitOnFrameClose #3000382 - Answer for ferdie (>> t = 1, f = 0) |