diff src/treeVnc/TextBoxProxy.java @ 22:24112133a0d9

add conf.txt src/treeVnc/ConfFileReader.java
author Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
date Fri, 20 Jan 2012 16:06:49 +0900
parents 810c53d66376
children
line wrap: on
line diff
--- a/src/treeVnc/TextBoxProxy.java	Sun Jan 15 16:13:09 2012 +0900
+++ b/src/treeVnc/TextBoxProxy.java	Fri Jan 20 16:06:49 2012 +0900
@@ -76,11 +76,11 @@
 		panel = new JPanel();
 		t1 = new TextField("localhost", 30);
 		t2 = new TextField("5900", 5);
-		pw = new JPasswordField("Password",30);
+//		pw = new JPasswordField("Password",30);
 		button = new JButton("Connect");
 		panel.add(t1);
 		panel.add(t2);
-		panel.add(pw);
+//		panel.add(pw);
 		panel.add(button);
 		button.addActionListener(this);
 		label = new JLabel();
@@ -103,10 +103,12 @@
 		return t2.getText();
 	}
 	
+
 	public String getPassword() {
 		return String.valueOf(pw.getPassword());
 	}
 
+
 	public void actionPerformed(ActionEvent e) {
 		if(e.getSource()==button) {
 			flag = true;