我做了一个APPLET小程序,编译没有问题,运行提示如下
> cd D:\JBuilder9\jdk1.4\bin
> D:\JBuilder9\jdk1.4\bin\appletviewer.exe   cheng.html
D:\JBuilder9\jdk1.4\bin>D:\JBuilder9\jdk1.4\bin\appletviewer.exe   cheng.html 
java.lang.ClassCastException
at sun.applet.AppletPanel.createApplet(AppletPanel.java:567)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:496)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
at java.lang.Thread.run(Thread.java:536)不知道为什么?