JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.swing
Class JCSplashScreen

java.lang.Object
  |
  +--com.klg.jclass.swing.JCSplashScreen

public class JCSplashScreen
extends Object

Uses an Icon or the location of an image to create an application's introductory screen.


Field Summary
protected  Window dialog
           
protected  Frame f
           
protected  JLabel label
           
 
Constructor Summary
JCSplashScreen(Icon image)
          Creates a splash screen given an Icon image.
JCSplashScreen(String image_location)
          Creates a splash screen given the location of the image.
 
Method Summary
protected  void initialize(Icon image)
          Creates the splash screen window and configures it.
 void setVisible(boolean show)
          This method will show or hide the splash screen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dialog

protected Window dialog

f

protected Frame f

label

protected JLabel label
Constructor Detail

JCSplashScreen

public JCSplashScreen(String image_location)
Creates a splash screen given the location of the image. The image location is the package path of the image and must be in the classpath. For example, if an image was located in /test/examples/image.gif, and the classpath specified contains /test, the constructor should be passed "/examples/image.gif".

Parameters:
image_location -

JCSplashScreen

public JCSplashScreen(Icon image)
Creates a splash screen given an Icon image.

Parameters:
image -
Method Detail

initialize

protected void initialize(Icon image)
Creates the splash screen window and configures it.

Parameters:
image -

setVisible

public void setVisible(boolean show)
This method will show or hide the splash screen. Once the splash screen is hidden, the splash screen window will be disposed. This means the splash screen cannot become visible again.

Parameters:
show -

Copyright © 2004 Quest Software Inc..
All rights reserved.