Rhythmrocks
Novice
I wrote a java program for the ScrollPanel swing. when I executed it, I got the following error:
appletviewer ScrollPaneDemo.java
java.lang.ClassCastException: ScrollPaneDemo cannot be cast to java.applet.Apple
t
at sun.applet.AppletPanel.createApplet(AppletPanel.java:778)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:707)
at sun.applet.AppletPanel.run(AppletPanel.java:361)
at java.lang.Thread.run(Thread.java:619)
Please help me in this
appletviewer ScrollPaneDemo.java
java.lang.ClassCastException: ScrollPaneDemo cannot be cast to java.applet.Apple
t
at sun.applet.AppletPanel.createApplet(AppletPanel.java:778)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:707)
at sun.applet.AppletPanel.run(AppletPanel.java:361)
at java.lang.Thread.run(Thread.java:619)
Please help me in this