- 
 @Deprecated(since="9") public interface AppletStub Deprecated.The Applet API is deprecated, no replacement.When an applet is first created, an applet stub is attached to it using the applet'ssetStubmethod. This stub serves as the interface between the applet and the browser environment or applet viewer environment in which the application is running.- Since:
- 1.0
- See Also:
- Applet.setStub(java.applet.AppletStub)
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidappletResize(int width, int height)Deprecated.Called when the applet wants to be resized.AppletContextgetAppletContext()Deprecated.Returns the applet's context.URLgetCodeBase()Deprecated.Gets the base URL.URLgetDocumentBase()Deprecated.Gets the URL of the document in which the applet is embedded.StringgetParameter(String name)Deprecated.Returns the value of the named parameter in the HTML tag.booleanisActive()Deprecated.Determines if the applet is active.
 
- 
- 
- 
Method Detail- 
isActiveboolean isActive() Deprecated.Determines if the applet is active. An applet is active just before itsstartmethod is called. It becomes inactive just before itsstopmethod is called.- Returns:
- trueif the applet is active;- falseotherwise.
 
 - 
getDocumentBaseURL getDocumentBase() Deprecated.Gets the URL of the document in which the applet is embedded. For example, suppose an applet is contained within the document:
 The document base is:http://www.oracle.com/technetwork/java/index.htmlhttp://www.oracle.com/technetwork/java/index.html- Returns:
- the URLof the document that contains the applet.
- See Also:
- getCodeBase()
 
 - 
getCodeBaseURL getCodeBase() Deprecated.Gets the base URL. This is the URL of the directory which contains the applet.- Returns:
- the base URLof the directory which contains the applet.
- See Also:
- getDocumentBase()
 
 - 
getParameterString getParameter(String name) Deprecated.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".- Parameters:
- name- a parameter name.
- Returns:
- the value of the named parameter,
 or nullif not set.
 
 - 
getAppletContextAppletContext getAppletContext() Deprecated.Returns the applet's context.- Returns:
- the applet's context.
 
 - 
appletResizevoid appletResize(int width, int height)Deprecated.Called when the applet wants to be resized.- Parameters:
- width- the new requested width for the applet.
- height- the new requested height for the applet.
 
 
- 
 
-