|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.javatest.tool.Startup
public class Startup
A lightweight class to display a startup (splash) image. The class ins intentionally as lightweight as possible, to be fast during startup. It does not use Swing.
Constructor Summary | |
---|---|
Startup()
Create an object to display a default startup image. |
|
Startup(I18NResourceBundle i18n,
java.lang.String prefix)
Create an object to display a startup screen. |
|
Startup(java.net.URL url)
Create an object to display a startup screen. |
Method Summary | |
---|---|
void |
dispose()
Dispose of the window resources used by this object. |
void |
disposeLater()
Dispose of the window resources used by this object, by scheduling an event to be run on the AWT Event Queue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Startup()
public Startup(I18NResourceBundle i18n, java.lang.String prefix)
i18n
- A resource bundle that defines the content of the startup screen.prefix
- A prefix for resources in the resource file to display in
the startup screen. The object checks to see if the resource
"prefix.icon" is defined: if so, it is used as the URL of a
resource containing an image to be display. If "prefix.icon" is
not defined, the Startup object checks for three strings
"prefix.line1", "prefix.line2" and "prefix.line3",
which will be displayed in a simple Frame containing three lines of text.public Startup(java.net.URL url)
i18n
- A resource bundle that defines the content of the startup screen.prefix
- A prefix for resources in the resource file to display in
the startup screen. The object checks to see if the resource
"prefix.icon" is defined: if so, it is used as the URL of a
resource containing an image to be display. If "prefix.icon" is
not defined, the Startup object checks for three strings
"prefix.line1", "prefix.line2" and "prefix.line3",
which will be displayed in a simple Frame containing three lines of text.path
- Path to load the file from, use null
if this class'
class loader should be used to load the image resource. The full
path is constructed by adding the resource filename to the
prefix.Method Detail |
---|
public void dispose()
public void disposeLater()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |