I am using Jcreator or JDK1.5 for compiling and running java programs. Normal stand alone programs are not showing any problem but when ever I am trying to compile and run Applet programs I am getting these errors
" java.lang.NoSuchMethodError: main
Exception in thread "main"
Process completed." . I have written more than 10 applet programs I am getting same error. Though its not showing any error during compilation or running. The error is displayed few seconds after program is successfully run.
You can't run an Applet or JApplet as if it were an application; you either need the appletviewer tool (it comes with your JDK) or a browser to run your (J)Applet.
Originally Posted by er1c550n20