Copied from Google results:
Applets are stand-alone programs that require a third-party tool to run it, which is either a browser with Java support or applets. Therefore, it does not have main (). it is possible to run the program without the main one.
Possible duplicate:
Why don't applets need a main ()?
source
share