com.partnersoft.v3x.gui
Class Splash
java.lang.Object
com.partnersoft.v3x.gui.Splash
public class Splash
- extends java.lang.Object
Handy splash screen for amusing users whilst loading.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Splash
public Splash()
Splash
public Splash(java.io.File filet)
main
public static void main(java.lang.String[] argv)
- Handy main. Takes first argument as an image to splash.
createStandardSplash
public static Splash createStandardSplash(java.lang.String packageName)
- Creates a standard splash for the given package name. This will look in
the following order for an image, and returns a splash for the first one: ->
Package/resources/icons/Splash -> Shared/resources/icons/Splash It looks
for the usual file extensions (.png, .jpeg, .jpg, .gif) at those places.
If no splash, nothing will happen (making it visible does nothing) but a
Splash object is still created so you don't have to have fancy code or
anything.
getDisplay
public java.awt.Component getDisplay()
setDisplay
public void setDisplay(java.awt.Component newDisplay)
isVisible
public boolean isVisible()
setVisible
public void setVisible(boolean is)