报的是这样的错误:Editor doesn't contain a main type!
程序源代码:import java.awt.*;
public class ChatClient extends Frame {
TextField tfTxt = new TextField();
TextArea taContent = new TextArea("asdfa");
public static void main(String[] args) {
// TODO Auto-generated method stub
new ChatClient().launchFrame();
}
public void launchFrame() {
setLocation(400, 300);
this.setSize(300, 300);
add(tfTxt,BorderLayout.SOUTH);
add(taContent,BorderLayout.NORTH);
pack();
setVisible(true);