@Deprecated(since="9", forRemoval=true) public interface AppletStub
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.| Modifier and Type | Method | Description | 
|---|---|---|
| void | appletResize | Deprecated, for removal: This API element is subject to removal in a future version. Called when the applet wants to be resized. | 
| AppletContext | getAppletContext() | Deprecated, for removal: This API element is subject to removal in a future version. Returns the applet's context. | 
| URL | getCodeBase() | Deprecated, for removal: This API element is subject to removal in a future version. Gets the base  URL. | 
| URL | getDocumentBase() | Deprecated, for removal: This API element is subject to removal in a future version. Gets the  URLof the document in which the applet is embedded. | 
| String | getParameter | Deprecated, for removal: This API element is subject to removal in a future version. Returns the value of the named parameter in the HTML tag. | 
| boolean | isActive() | Deprecated, for removal: This API element is subject to removal in a future version. Determines if the applet is active. | 
boolean isActive()
start method is called. It becomes inactive just before its stop method is called.true if the applet is active; false otherwiseURL getDocumentBase()
URL of the document in which the applet is embedded. For example, suppose an applet is contained within the document: 
    http://www.oracle.com/technetwork/java/index.html
 
    http://www.oracle.com/technetwork/java/index.html
 URL of the document that contains the appletURL getCodeBase()
URL. This is the URL of the directory which contains the applet.URL of the directory which contains the appletString getParameter(String name)
<applet code="Clock" width=50 height=50> <param name=Color value="blue"> </applet>
 then a call to getParameter("Color") returns the value "blue".
name - a parameter namenull if not setAppletContext getAppletContext()
void appletResize(int width, int height)
width - the new requested width for the appletheight - the new requested height for the applet
    © 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
    https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/applet/AppletStub.html