import java.awt.*;
import java.awt.event.*;
import java.net.*;public class QQSampleFrame extends Frame  {
public void lunchFrame() {
this.setTitle("我的QQ");
this.setLocation(50,300);//屏幕的左上角点的位置
this.setSize(50, 600);  //屏幕的宽度和高度
this.setLayout(new FlowLayout(FlowLayout.CENTER,20,40));

Button b1 = new Button ("客户");
Button b2 = new Button ("系统");

Monitor m= new Monitor();

b1.addActionListener(m);
b2.addActionListener(m);
b2.setActionCommand("welcome to QQSanple :=. 0");
this.add(b1);
this.add(b2);


this.addWindowListener(new WindowAdapter(){  //窗口关闭的匿名类
public void windowClosing(WindowEvent e) {
System.exit(0);
}

});




this.setResizable(true);//能改变窗口的大小
this.setBackground(new Color(202, 204, 205));
setVisible(true);//显示出Frame这个桌面
}
public static void main (String[] args) {
QQSampleFrame qq = new QQSampleFrame();
qq.lunchFrame();

}

}
class Monitor implements ActionListener {
QQSampleFrame qq;
public void actionPerformed(ActionEvent e) {
TextField tf = new TextField();   //怎么才能将这个Button传到TextField ??? here 
qq.add(tf);
}

}
怎么才只要点那个客户按钮弹出个文本框让他成为虚拟的客户界面 另一个可以接受客户端的服务器的程序. 我 目前是想点那个客户按钮弹出个文本框出来  该怎么弄呀