Applet problem

Hello,
im downloaded some lessons from page http://pepijn.fab4.be/software/nehe-java-ports/. All filles i saved into directory C:\Tmp\Jogl\Lessons. Looking in https://jogl-demos.dev.java.net/applettest.html i created a test.html file and i modyfing few lines to:

and here i have problem with start this file. In progressbar i have a message Error: Unable to start Lesson07. I siiting on this problem from few days and i really dont know what im doing wrong. Please help.
Elded

I thinlk it has to be


   file:///C:/Tmp/Jogl/Lessons/lesson07.jar

To get more information with applet errors, open your systems’s Control Panel and start the Java Control Panel. Go to the Advanced Tab and activate the Java Console.

After changing this one line i still have in progress bar this message: Error: Unable to start Lesson07. I activated console and i have this message:
2008-02-15 19:57:37 org.jdesktop.applet.util.JNLPAppletLauncher displayError
SEVERE: Class not found: demos.nehe.lesson07.Lesson07
Applet.init
subapplet.classname = demos.nehe.lesson07.Lesson07
subapplet.displayname = Lesson07
Applet.start
java.lang.ClassCastException: demos.nehe.lesson07.Lesson07 cannot be cast to java.applet.Applet
at org.jdesktop.applet.util.JNLPAppletLauncher.startSubApplet(JNLPAppletLauncher.java:1889)
at org.jdesktop.applet.util.JNLPAppletLauncher.access$200(JNLPAppletLauncher.java:658)
at org.jdesktop.applet.util.JNLPAppletLauncher$5.run(JNLPAppletLauncher.java:1269)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2008-02-15 19:58:00 org.jdesktop.applet.util.JNLPAppletLauncher displayError
SEVERE: Unable to start Lesson07

You can’t just start an arbitrary class as applet. It has to be a subclass of Applet and implement the applet’s lifecylcle methods to do sensible stuff.
See http://java.sun.com/docs/books/tutorial/deployment/applet/index.html

Cylab thank you for help. That’s web information should clear my mind (i think ;P).