java.applet.AppletContext (JDK 1.0)
This interface defines the methods that allow an applet to interact with the context in which it runs (which is usually a Web browser or an applet viewer). The object that implements the AppletContext interface is returned by Applet.getAppletContext(). You can use it to take advantage of a Web browser's cache, or to display a message to the user in the Web browser's or applet viewer's message area.
The getAudioClip() and getImage() methods may make use of a Web browser's caching mechanism. showDocument() and showStatus() give an applet a small measure of control over the appearance of the browser or applet viewer. The getApplet() and getApplets() methods allow an applet to find out what other applets are running at the same time.
public abstract interfaceAppletContext{ //Public Instance Methodspublic abstract AppletgetApplet(Stringname); public abstract EnumerationgetApplets(); public abstract AudioClipgetAudioClip(URLurl); public abstract ImagegetImage(URLurl); public abstract voidshowDocument(URLurl); public abstract voidshowDocument(URLurl, Stringtarget); public abstract voidshowStatus(Stringstatus); }
Returned By:
Applet.getAppletContext(), AppletStub.getAppletContext()