Mercurial > hg > Members > nobuyasu > tightVNCClient
comparison src/myVncClient/TextBox.java @ 104:5241bf573f69
update
author | Yu Taninari <you@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 07 Nov 2011 20:29:49 +0900 |
parents | accf5a6e1176 |
children | 3599045a7312 |
comparison
equal
deleted
inserted
replaced
103:0c0da17b72b2 | 104:5241bf573f69 |
---|---|
40 pack(); | 40 pack(); |
41 setVisible(true); | 41 setVisible(true); |
42 } | 42 } |
43 | 43 |
44 void setText() { | 44 void setText() { |
45 t1 = new TextField("Address", 30); | 45 t1 = new TextField("dimolto.cr.ie.u-ryukyu.ac.jp", 30); |
46 t2 = new TextField("Port", 5); | 46 t2 = new TextField("5999", 5); |
47 panel.add(t1); | 47 panel.add(t1); |
48 panel.add(t2); | 48 panel.add(t2); |
49 panel.add(button); | 49 panel.add(button); |
50 button.addActionListener(this); | 50 button.addActionListener(this); |
51 label = new JLabel(); | 51 label = new JLabel(); |