I am using jGRASP. it has a function where I can run the program as an applet. But i get this error.
java.lang.ClassCastException: trail1modified cannot be cast to java.applet.Applet
at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
at sun.applet.AppletPanel.run(AppletPanel.java:368)
at java.lang.Thread.run(Thread.java:619)
您的类trail1modified
不会扩展java.applet.Applet
或其任何子类。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.