com.jpackages.execj
Class SplashScreen

java.lang.Object
  extended by com.jpackages.execj.SplashScreen

public abstract class SplashScreen
extends java.lang.Object

This class provides functionality to alter the SplashScreen displayed.

The splash screen image and text is initially predefined but can be modified at runtime with this class' methods. This allows for updated information such as load progress or version information to be displayed.

Example:

 // loadingImage1 is a javax.swing.ImageIcon
 SplashScreen.setImage(loadingImage1);
 // version is a float representing the product version
 SplashScreen.setText1("Product Name " + version);
 

Copyright (c) 2001-2007

Author:
JPackages.com

Constructor Summary
SplashScreen()
           
 
Method Summary
static void dispose()
          Dispose of the splash screen.
static void setImage(javax.swing.ImageIcon image)
          Set the image to display on the splash screen.
static void setText1(java.lang.String text)
          Set the text to display in the Text1 region.
static void setText2(java.lang.String text)
          Set the text to display in the Text2 region.
static void setText3(java.lang.String text)
          Set the text to display in the Text3 region.
static void setText4(java.lang.String text)
          Set the text to display in the Text4 region.
static void setText5(java.lang.String text)
          Set the text to display in the Text5 region.
static void setText6(java.lang.String text)
          Set the text to display in the Text6 region.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplashScreen

public SplashScreen()
Method Detail

dispose

public static void dispose()

Dispose of the splash screen.

If this is never called, the splash screen is automatically disposed when the main method finishes.


setImage

public static void setImage(javax.swing.ImageIcon image)

Set the image to display on the splash screen.

Parameters:
image - Image to display

setText1

public static void setText1(java.lang.String text)

Set the text to display in the Text1 region.

Parameters:
text -

setText2

public static void setText2(java.lang.String text)

Set the text to display in the Text2 region.

Parameters:
text -

setText3

public static void setText3(java.lang.String text)

Set the text to display in the Text3 region.

Parameters:
text -

setText4

public static void setText4(java.lang.String text)

Set the text to display in the Text4 region.

Parameters:
text -

setText5

public static void setText5(java.lang.String text)

Set the text to display in the Text5 region.

Parameters:
text -

setText6

public static void setText6(java.lang.String text)

Set the text to display in the Text6 region.

Parameters:
text -