21行错误
addWindowListener(new WindowAdapter()){
^
public void windowClosing(WindowEvent e){
System.exit(0);
}
}
改为
addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e){
System.exit(0);
}
});
^^
注意看改动的地方,加了^
addWindowListener(new WindowAdapter()){
^
public void windowClosing(WindowEvent e){
System.exit(0);
}
}
改为
addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e){
System.exit(0);
}
});
^^
注意看改动的地方,加了^
--------------------Configuration: j2se <Default>--------------------
D:\Beetle\TD.java:63: '{' expected
public class getColumnClass(int c){
^
D:\Beetle\TD.java:119: '}' expected
}
^
D:\Beetle\TD.java:114: inner classes cannot have static declarations
public static void main(String[] args){
^
3 errorsProcess completed.