Mercurial > hg > Applications > TreeVNC
changeset 91:cec9f6aa9398
the close button is depressed, and a application is closed.
author | oc |
---|---|
date | Mon, 19 May 2014 10:52:07 +0900 |
parents | a40b887a9234 |
children | ca39d762805e |
files | src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java Fri May 16 20:37:06 2014 +0900 +++ b/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java Mon May 19 10:52:07 2014 +0900 @@ -168,6 +168,7 @@ scroller = new JScrollPane(outerPanel); if (isSeparateFrame) { frame = new JFrame(); + frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); if ( ! isApplet) { frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); }