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.
public abstract boolean isActive()
start method is called. It becomes
inactive immediately after its stop method is called.
true if the applet is active;
false otherwise.
public abstract URL getDocumentBase()
URL of the document containing the applet.
public abstract URL getCodeBase()
URL of the applet.
public abstract String 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".
public abstract AppletContext getAppletContext()
public abstract void appletResize(int width,
int height)
![]()