在dos下错误提示是
helloworld.java:3:class WindowsPrg is public,should be declare in a file name
d.WindowsPrg.java
public class WindowsPrg extends Frame
^
1 error
helloworld.java:3:class WindowsPrg is public,should be declare in a file name
d.WindowsPrg.java
public class WindowsPrg extends Frame
^
1 error
比如说public void paint(Graphics g){
中Graphics 写成graphics 似乎就不行