Mercurial > hg > Applications > TreeVNC
changeset 180:96fcfe560edb
on going ...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 23 Jun 2014 17:16:05 +0900 |
parents | c1b91dd27a13 |
children | 9c02b5a72bf9 |
files | src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java src/viewer_swing/java/com/glavsoft/viewer/swing/SwingRfbConnectionWorker.java |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java Mon Jun 23 10:40:32 2014 +0900 +++ b/src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java Mon Jun 23 17:16:05 2014 +0900 @@ -258,7 +258,6 @@ reader.read(initData); String name = new String(initData, 24, length - 24, "UTF-8"); rfb.getContext().setRemoteDesktopName(name); - rfb.getContext().setInitData(initData); repaintController.updateRemoteDesktopName(rfb.getContext()); reader.reset();
--- a/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingRfbConnectionWorker.java Mon Jun 23 10:40:32 2014 +0900 +++ b/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingRfbConnectionWorker.java Mon Jun 23 17:16:05 2014 +0900 @@ -120,7 +120,8 @@ myRfb.setProtocolContext(workingProtocol); workingProtocol.startNormalHandling(this, viewerWindow.getSurface(), clipboardController, myRfb); presenter.showMessage("Started"); - + if (myRfb.hasViewer()) + viewerWindow.setVisible(true); if(!myRfb.getCuiVersion()) presenter.successfulRfbConnection(); } catch (CancellationException e) {