What is an Applet?
An applet is a Java program that runs within the Java enabled web browsers like Netscape Communicator and Internet explorer. Applets often use a graphical user interface and may have text, images, buttons, scrollbars, and sound. Applets can be embedded in HTML.
It is automatically executed by applet-enabled we-browser. Every applet is a subclass of java.applet.Applet. Applet init() method is called exactly once in its life cycle i.e. when it is loaded. Start() is called each time the browser visits he page. Stop() is called when browser leaves the page. Destroy() is called when browser unloads the applet.
FAQ Home