Applet Life Cycle

java packages » java.applet
All applets have the following four lifecycle methods:
  • init -> Applet can initialize itself.
  • start ->Applet can start running.
  • stop ->Applet can stop running.
  • destroy ->Applet can perform a final cleanup, in preparation for being unloaded.
Java Example Program / Sample Source Code
Html Code
        <applet code="AppletLifecycle" width="700" height="500"></applet>



2011-2012 Privacy Policy Powered by Google App Engine