public class AppletInstance extends ApplicationInstance
Constructor | Description |
---|---|
AppletInstance(JNLPFile file,
java.lang.ThreadGroup group,
java.lang.ClassLoader loader,
java.applet.Applet applet) |
Create a New Task based on the Specified URL
|
AppletInstance(JNLPFile file,
java.lang.ThreadGroup group,
java.lang.ClassLoader loader,
java.applet.Applet applet,
java.awt.Container cont) |
Create a New Task based on the Specified URL
|
Modifier and Type | Method | Description |
---|---|---|
void |
destroy() |
Stop the application and destroy its resources.
|
java.applet.Applet |
getApplet() |
|
AppletEnvironment |
getAppletEnvironment() |
|
java.lang.String |
getTitle() |
Returns the application title.
|
boolean |
isResizable() |
|
void |
setApplet(java.applet.Applet applet) |
Set the applet of this launched application; can only be called once.
|
void |
setResizable(boolean resizable) |
Sets whether the applet is resizable or not.
|
addApplicationListener, addWindow, finalize, fireDestroyed, getAppContext, getClassLoader, getJNLPFile, getThreadGroup, initialize, isRunning, isSigned, removeApplicationListener
public AppletInstance(JNLPFile file, java.lang.ThreadGroup group, java.lang.ClassLoader loader, java.applet.Applet applet)
file
- pluginbrifge to build instance ongroup
- thread group of this instanceloader
- classlaoder for this instanceapplet
- applet of this instancepublic AppletInstance(JNLPFile file, java.lang.ThreadGroup group, java.lang.ClassLoader loader, java.applet.Applet applet, java.awt.Container cont)
file
- pluginbrifge to build instance ongroup
- thread group of this instanceloader
- classlaoder for this instanceapplet
- applet of this instancecont
- Container where to place appletpublic void setApplet(java.applet.Applet applet)
applet
- to be setpublic void setResizable(boolean resizable)
resizable
- boolean to allwo resizingpublic boolean isResizable()
public java.lang.String getTitle()
ApplicationInstance
getTitle
in class ApplicationInstance
public AppletEnvironment getAppletEnvironment()
public java.applet.Applet getApplet()
public void destroy()
destroy
in class ApplicationInstance