The Applet class provides the framework for delivering Java programs within web pages.
public class java.applet.Applet extends java.awt.Panel { // Constructors public Applet(); // Instance Methods public void destroy(); public AppletContext getAppletContext(); public String getAppletInfo(); public AudioClip getAudioClip (URL url); public AudioClip getAudioClip (URL url, String filename); public URL getCodeBase(); public URL getDocumentBase(); public Image getImage (URL url); public Image getImage (URL url, String filename); public Locale getLocale(); public String getParameter (String name); public String[][] getParameterInfo(); public void init(); public boolean isActive(); public void play (URL url); public void play (URL url, String filename); public void resize (int width, int height); public void resize (Dimension dim); public final void setStub (AppletStub stub); public void showStatus (String message); public void start(); public void stop(); }
Constructs an Applet object.
Called when the browser determines that it doesn't need to keep the applet around anymore.
The current AppletContext of the applet.
A short information string about the applet to be shown to the user.
URL of an audio file.
Object that implements the AudioClip interface for playing audio files.
Fetches an audio file to play with the AudioClip interface.
Base URL of an audio file.
Specific file, relative to url, that contains an audio file.
Object that implements AudioClip interface for playing audio file.
Fetches an audio file to play with the AudioClip interface.
The complete URL of the .class file that contains the applet.
The complete URL of the .html file that loaded the applet.
URL of an image file.
Image to be displayed.
Initiates the image loading process for the file located at the specified location.
Base URL of an image file.
Specific file, relative to url, that contains an image file.
Image to be displayed.
Initiates the image loading process for the file located at the specified location.
Applet's locale.
Component.getLocale()
Used for internationalization support.
Name of parameter to get.
The value associated with the given parameter in the HTML file, or null.
Allows you to get parameters from within the <APPLET> tag of the .html file that loaded the applet.
Overridden to provide a series of three-string arrays that describes the parameters this applet reads.
Called by the system when the applet is first loaded.
true if the applet is active, false otherwise.
URL of an audio file .
Plays an audio file once.
Base URL of an audio file .
Specific file, relative to url, that contains an audio file.
Plays an audio file once.
New width for the Applet.
New height for the Applet.
Changes the size of the applet.
New dimensions for the applet.
Changes the size of the applet.
Platform specific stubfor environment.
Called by the system to setup AppletStub.
Message to display to user.
Displays a message on the status line of the browser.
Called by the system every time the applet is displayed.
Called by the system when it wants the applet to stop execution; typically, every time the user leaves the page that includes the applet.
AppletContext, AppletStub, AudioClip, Container, Dimension, Image, Locale, Panel, String, URL
This HTML Help has been published using the chm2web software. |