and i am compiling the ExtendedApplet.java, then i run it, and sends this error: Exception in thread "main" java.lang.NoSuchMethodError: main
How are you running it? Applets are not applications that you can run from the command line - they don't have a "main" method. You need to open an HTML file that contains an applet tag for this particular applet in your web browser.
this is my program: I put it all here, so you can run it, and see what happens I converted it to a standalone Java application. the program runs, and gives the time, but it stays there, it doesn't update.
What can I do so it updates?
Clock2.java
[ April 21, 2007: Message edited by: Jack Bolton ]