diff src/viewer_swing/java/com/glavsoft/viewer/Viewer.java @ 328:1a2ab6bd5ba3

add function lost child node, remove deadChild nodeList.
author oc
date Mon, 02 Feb 2015 13:50:35 +0900
parents 293c35aa902b
children dff2f92ae3ff
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java	Sun Feb 01 17:34:09 2015 +0900
+++ b/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java	Mon Feb 02 13:50:35 2015 +0900
@@ -286,7 +286,7 @@
     public void setOpenPort(int parseInt) {
     }
 
-    public void setTeminationType(boolean b) {
+    public void setTerminationType(boolean b) {
         myRfb.setTerminationType(b);
     }
 
@@ -320,7 +320,7 @@
      */
     @Override
     public void connectToParenet(int port, String hostname)  throws IOException {
-        setTeminationType(false);
+        setTerminationType(false);
         closeApp();
         connectionParams.setConnectionParam(hostname, port);
         run();