AppletContext is an interface that is defined in the java.applet package. It is used by an applet to obtain information from the applet's environment through its methods. Applet runs within a context that is usually provided by a web browser or an applet viewer. Using that context, an applet is able to load bitmap images and audio clips.
Applets can also obtain additional services from an AppletContext?s object,
which is returned from getAppletContext() method shown as:
AppletContext Context = getAppletContext();
To get the AppletContext of the applet getAppletContext()
method can be used shown as:
Read more at:
Recommend the tutorial