Mercurial > hg > Applications > TightVNC_orginal
comparison src/viewer_swing/java/com/glavsoft/viewer/Viewer.java @ 47:f3b775d3592a
create newVps.
author | one |
---|---|
date | Thu, 06 Dec 2012 17:51:29 +0900 |
parents | d2741b80399e |
children |
comparison
equal
deleted
inserted
replaced
46:d2741b80399e | 47:f3b775d3592a |
---|---|
234 protected void closeApp() { | 234 protected void closeApp() { |
235 if (workingProtocol != null) { | 235 if (workingProtocol != null) { |
236 workingProtocol.cleanUpSession(); | 236 workingProtocol.cleanUpSession(); |
237 } | 237 } |
238 cleanUpUISessionAndConnection(); | 238 cleanUpUISessionAndConnection(); |
239 tryAgain = false; | |
240 if (isApplet) { | 239 if (isApplet) { |
241 logger.severe("Applet is stopped."); | 240 logger.severe("Applet is stopped."); |
242 isAppletStopped = true; | 241 isAppletStopped = true; |
243 repaint(); | 242 repaint(); |
244 } else { | 243 } |
245 System.exit(0); | |
246 } | |
247 } | 244 } |
248 | 245 |
249 @Override | 246 @Override |
250 public void paint(Graphics g) { | 247 public void paint(Graphics g) { |
251 if ( ! isAppletStopped) { | 248 if ( ! isAppletStopped) { |