comparison src/viewer_swing/java/com/glavsoft/viewer/swing/SwingRfbConnectionWorker.java @ 369:2d01ec1c02d2

Fix ReConnectingFlag
author innparusu
date Sat, 15 Aug 2015 17:28:19 +0900
parents 2d83bea06f00
children 2c61e6d434ff
comparison
equal deleted inserted replaced
368:b60780e1fafc 369:2d01ec1c02d2
106 @Override 106 @Override
107 protected void done() { // EDT 107 protected void done() { // EDT
108 try { 108 try {
109 get(); 109 get();
110 presenter.showMessage("Handshake established"); 110 presenter.showMessage("Handshake established");
111 if(myRfb.getViewer() != null) { 111 presenter.newVNCConnection();
112 myRfb.getViewer().newVNCConnection(presenter);
113 }
114 ClipboardControllerImpl clipboardController; 112 ClipboardControllerImpl clipboardController;
115 if(!myRfb.getCuiVersion()) 113 if(!myRfb.getCuiVersion())
116 clipboardController = new ClipboardControllerImpl(workingProtocol, rfbSettings.getRemoteCharsetName()); 114 clipboardController = new ClipboardControllerImpl(workingProtocol, rfbSettings.getRemoteCharsetName());
117 else 115 else
118 clipboardController = new ClipboardControllerImpl(workingProtocol, "cui"); 116 clipboardController = new ClipboardControllerImpl(workingProtocol, "cui");