changeset 104:5241bf573f69

update
author Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
date Mon, 07 Nov 2011 20:29:49 +0900
parents 0c0da17b72b2
children 3599045a7312
files src/myVncClient/ButtonPanel.java src/myVncClient/TextBox.java
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/myVncClient/ButtonPanel.java	Tue Oct 25 01:22:47 2011 +0900
+++ b/src/myVncClient/ButtonPanel.java	Mon Nov 07 20:29:49 2011 +0900
@@ -44,27 +44,27 @@
     setLayout(new FlowLayout(FlowLayout.LEFT, 0, 0));
     disconnectButton = new Button("Disconnect");
     disconnectButton.setEnabled(false);
-    add(disconnectButton);
+   // add(disconnectButton);
     disconnectButton.addActionListener(this);
     optionsButton = new Button("Options");
-    add(optionsButton);
+    //add(optionsButton);
     optionsButton.addActionListener(this);
     clipboardButton = new Button("Clipboard");
     clipboardButton.setEnabled(false);
-    add(clipboardButton);
+    //add(clipboardButton);
     clipboardButton.addActionListener(this);
     if (viewer.rec != null) {
       recordButton = new Button("Record");
-      add(recordButton);
+//      add(recordButton);
       recordButton.addActionListener(this);
     }
     ctrlAltDelButton = new Button("Send Ctrl-Alt-Del");
     ctrlAltDelButton.setEnabled(false);
-    add(ctrlAltDelButton);
+    //add(ctrlAltDelButton);
     ctrlAltDelButton.addActionListener(this);
     refreshButton = new Button("Refresh");
     refreshButton.setEnabled(false);
-    add(refreshButton);
+    //add(refreshButton);
     refreshButton.addActionListener(this);
   }
 
--- a/src/myVncClient/TextBox.java	Tue Oct 25 01:22:47 2011 +0900
+++ b/src/myVncClient/TextBox.java	Mon Nov 07 20:29:49 2011 +0900
@@ -42,8 +42,8 @@
 	}
 
 	void setText() {
-		t1 = new TextField("Address", 30);
-		t2 = new TextField("Port", 5);
+		t1 = new TextField("dimolto.cr.ie.u-ryukyu.ac.jp", 30);
+		t2 = new TextField("5999", 5);
 		panel.add(t1);
 		panel.add(t2);
 		panel.add(button);