diff src/myVncClient/CuiMyVncClient.java @ 93:71bfbb5241bf

modify CuiMyVncClient
author e085711
date Thu, 22 Sep 2011 05:43:48 +0900
parents 405ead268439
children 1783ca4e4877
line wrap: on
line diff
--- a/src/myVncClient/CuiMyVncClient.java	Thu Sep 22 05:16:18 2011 +0900
+++ b/src/myVncClient/CuiMyVncClient.java	Thu Sep 22 05:43:48 2011 +0900
@@ -303,7 +303,7 @@
 		showConnectionStatus("Connecting to " + host + ", port " + port + "...");
 
 		// rfb = new RfbProto(host, port, this);
-		rfb = new MyRfbProto(pHost, port);
+		rfb = new MyRfbProto(pHost, port, this);
 
 		showConnectionStatus("Connected to server");
 
@@ -1056,13 +1056,11 @@
 	}
 
 	public void writeScreenData(byte[] b, String imageFormat) {
-/*
 		try{
-			vc.drawBufferedImage(b, imageFormat);
+			vc.drawBufferedImage(b);
 		}catch(IOException e){
 			e.printStackTrace();
 		}
-*/
 	}
 	
 }