public class SplashScreen
extends java.lang.Object
This class allows you to control the splash screen of an install4j launcher from your Java code.
In order to use this class, please include resource/i4jruntime.jar from your install4j installation into your class path. You do not need to distribute this file along with your application, install4j will do this automatically for you.
Modifier and Type | Class and Description |
---|---|
static class |
SplashScreen.ConnectionException
The exception thrown by methods of the SplashScreen class to
indicate that a splash screen operation was not successful.
|
Modifier and Type | Method and Description |
---|---|
static void |
hide()
Programmatically hide the splash screen.
|
static void |
writeMessage(java.lang.String message)
Update the status text line of the splash screen with a different message.
|
public static void writeMessage(java.lang.String message) throws SplashScreen.ConnectionException
message
- the new text.SplashScreen.ConnectionException
- if there is a communication problempublic static void hide() throws SplashScreen.ConnectionException
SplashScreen.ConnectionException
- if there is a communication problem