static void exitOnFrameClose(JFrame frame) { frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); }
Snippet is not live.
Travelled to 1 computer(s): tvejysmllsmz
No comments. add comment
Snippet ID: | #2000368 |
Snippet name: | exitOnFrameClose |
Eternal ID of this version: | #2000368/1 |
Text MD5: | 6fcbeae729041fceb7cb02b40b8dddb0 |
Author: | stefan |
Category: | javax |
Type: | New Tinybrain snippet |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | Yes |
Created/modified: | 2015-06-20 16:49:09 |
Source code size: | 112 bytes / 3 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 741 / 1549 |
Referenced in: | #698 - Standard Function Adder (new, developing) #1000898 - exitOnFrameClose #1002427 - Accellerating 629 (SPIKE) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |