Mercurial > hg > Applications > TightVNC_orginal
diff src/main/java/jp/ac/u_ryukyu/treevnc/client/GetDataClient.java @ 45:20326a4b9d88
create new change button for client.
author | one |
---|---|
date | Tue, 04 Dec 2012 17:56:39 +0900 |
parents | f70008073a03 |
children |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/client/GetDataClient.java Sun Nov 18 18:47:14 2012 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/client/GetDataClient.java Tue Dec 04 17:56:39 2012 +0900 @@ -13,6 +13,7 @@ private int port = 8182; private boolean stopFlag; private TextBoxClient text = new TextBoxClient(); + private String proxyAddr; public String textAddress() { @@ -63,10 +64,10 @@ Socket socket = server.accept(); is = new BufferedReader(new InputStreamReader( socket.getInputStream())); - String line = is.readLine(); + proxyAddr = is.readLine(); // text = new TextBoxClient(); - if(line!=null) - text.checkBox(line); + if(proxyAddr!=null) + text.checkBox(proxyAddr); // TextBoxClient text = new TextBoxClient(); text.setButton(); text.visible(); @@ -94,4 +95,7 @@ text.ipRegister(); } + public String getProxyAddr() { + return proxyAddr; + } }