Applet
 
The Applet class
 
. Is part of the java.applet package
. Is an extension of the Panel class
 
 
. Must be the superclass of any applet that is to be embedded in a Web page or viewed by a Java applet viewer. The Applet class provides a standard interface between applets and their environment.
. Is subclassed to define an applet.
 
For example,
public class MyApplet extends Applet
begins the definition of a class named MyApplet that inherits all the features of the Object, Component, Container, Panel, and Applet classes. All that remains is to supply custom features that define application processing.
 
. Has many methods. The most frequently used are:
 
 
Other methods exist for retrieving image files, retrieving and playing audio clips, and more.