import javax.swing.*;
import java.awt.event.*;
import java.io.*;
import java.net.*;
import java.awt.*;
class ClientPoint extends JFrame implements ActionListener,KeyListener{
static int SERVERPORT=8088; //还是这里不明白
static String SERVERADDRESS= "127.0.0.1 ";
private BufferedReader cin=null;
private PrintWriter cout=null;
private Socket client=null;
public String clientname;
private JPanel jPanel1=new JPanel();
private JTextField jTextSendInfo=new JTextField(38);
private JTextArea jTextGetInfo=new JTextArea(16,33);
public JScrollPane areaScrollPane=new JScrollPane(jTextGetInfo);
private Button Send=new Button( "发送 ");
private Button Link=new Button( "连接 ");
public ClientPoint(){
super( "聊天室^_^ ");
enableEvents(AWTEvent.WINDOW_EVENT_MASK); //不知道?
setSize(480,465);
jPanel1.add( "South ",jTextSendInfo);
jPanel1.setBackground(new Color(75, 234, 166));
jTextGetInfo.setBackground(new Color(122,150,223));