gokilagunasekaran.weebly.com€¦ · Web viewAPPLETS: An applet is a special Java program that can be embedded in HTML documents. A applet is typically embedded in a Web page and
42
APPLETS: An applet is a special Java program that can be embedded in HTML documents. A applet is typically embedded in a Web page and can be run from a browser It is automatically executed by (applet-enabled) web browsers. In Java, non-applet programs are called applications. An applet class is normally defined as a derived class of the class Applet The class Applet is in the package java.awt Life Cycle of an Applet: An applet can react to major events in the following ways: It can initialize itself. It can start running.