diff paper/src/InhelitClients.java @ 30:f690dec3cbd5

Add images
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Wed, 17 Feb 2016 22:06:56 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/paper/src/InhelitClients.java	Wed Feb 17 22:06:56 2016 +0900
@@ -0,0 +1,14 @@
+@Override
+public void inhelitClients(String hostName, short newVNCServerId, int x, int y, int width, int height, int scale) {
+    final ConnectionPresenter connectionPresenter = createNewConnectionPresenter(hostName, newVNCServerId, x, y, width, height, scale);
+    isApplet = true;
+    this.setNoConnection(false);
+    final Viewer v = this;
+
+    new Thread(new Runnable() {
+        @Override
+        public void run() {
+            connectionPresenter.startVNCConnection(v, false, null, null);
+        }
+    }, "ServerChangeThread").start();
+}