Generated by
JDiff

java.applet Documentation Differences

This file contains all the changes in documentation in the package java.applet as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class Applet

An applet is a small program that is intended not to be run on its own but rather to be embedded inside another application.

The Applet class must be the superclass of any applet that is to be embedded in a Web page or viewed by the Java Applet Viewer. The Applet class provides a standard interface between applets and their environment. @author Arthur van Hoff @author Chris Warth @version 1.5266 03/1815/9800 @since JDK1.0

Class Applet, URL getCodeBase()

Gets the base URL. This is the URL of the applet itself. @return the java.net.URL#_top_ of this applet. @see java.applet.Applet#getDocumentBase()
Class Applet, URL getDocumentBase()

Gets the documentReturns an absolute URL. Thisnaming is the URLdirectory of the document in which the applet is embedded. For example suppose an applet is contained within the document:
 http://java.sun.com/products/jdk/1.2/index.html 
The document base is:
 http://java.sun.com/products/jdk/1.2/ 
@return the java.net.URL#_top_ of the document that contains this applet. @see java.applet.Applet#getCodeBase()
Class Applet, String getParameter(String)

Returns the value of the named parameter in the HTML tag. For example if this applet is specified as
 <applet code="Clock" width=50 height=50> <param name=Color value="blue"> </applet> 

then a call to getParameter("Color") returns the value "blue".

The name argument is case insensitive. @param name a parameter name. @return the value of the named parameter or null if not set.

Class Applet, AudioClip newAudioClip(URL)

Get an audio clip from the given URL. @param url Pointspoints to the audio clip @return the audio clip at the specified URL. @since JDK11.2

Class AppletContext

This interface corresponds to an applet's environment: the document containing the applet and the other applets in the same document.

The methods in this interface can be used by an applet to obtain information about its environment. @author Arthur van Hoff @version 1.23 0625 02/2902/9800 @since JDK1.0


Class AppletStub

When an applet is first created an applet stub is attached to it using the applet's setStub method. This stub serves as the interface between the applet and the browser environment or applet viewer environment in which the application is running. @author Arthur van Hoff @version 1.17 0621 02/2902/9800 @see java.applet.Applet#setStub(java.applet.AppletStub) @since JDK1.0
Class AppletStub, URL getDocumentBase()

GetsReturns an absolute URL naming the directory of the document URLin which the applet is embedded. For example suppose an applet is contained within the document:
 http://java.sun.com/products/jdk/1.2/index.html 
The document base is:
 http://java.sun.com/products/jdk/1.2/ 
@return the java.net.URL of the document containingthat thecontains this applet. @see java.applet.AppletStub#getCodeBase()
Class AppletStub, String getParameter(String)

Returns the value of the named parameter in the HTML tag. For example if an applet is specified as
 <applet code="Clock" width=50 height=50> <param name=Color value="blue"> </applet> 

then a call to getParameter("Color") returns the value "blue". @param name a parameter name. @return the value of the named parameter or null if not set.


Class AudioClip

The AudioClip interface is a simple abstraction for playing a sound clip. Multiple AudioClip items can be playing at the same time and the resulting sound is mixed together to produce a composite. @author Arthur van Hoff @version 1.13 0915 02/2102/9800 @since JDK1.0