public class GuiLaunchHandler extends java.lang.Object implements LaunchHandler
LaunchHandler
that gives feedback to the user using GUI elements
including splash screens and exception dialogs.Constructor and Description |
---|
GuiLaunchHandler() |
Modifier and Type | Method and Description |
---|---|
void |
launchCompleted(ApplicationInstance application)
Called when an application, applet, or installer has been
launched successfully (the main method or applet start method
returned normally).
|
void |
launchError(LaunchException exception)
Called when the application could not be launched due to a
fatal error, such as the inability to find the main class or
non-parseable XML.
|
void |
launchInitialized(JNLPFile file)
Called when an application, applet or installer has been determined.
|
void |
launchStarting(ApplicationInstance application)
Called when an application, applet or installer is ready to start.
|
boolean |
launchWarning(LaunchException warning)
Called when launching the application can not be launched due
to an error that is not fatal.
|
boolean |
validationError(LaunchException security)
Called when a security validation error occurs while
launching the application.
|
public void launchCompleted(ApplicationInstance application)
LaunchHandler
launchCompleted
in interface LaunchHandler
application
- the launched application instancepublic void launchError(LaunchException exception)
LaunchHandler
launchError
in interface LaunchHandler
public void launchStarting(ApplicationInstance application)
LaunchHandler
launchStarting
in interface LaunchHandler
application
- the application instance that is readypublic void launchInitialized(JNLPFile file)
LaunchHandler
launchInitialized
in interface LaunchHandler
public boolean launchWarning(LaunchException warning)
LaunchHandler
launchWarning
in interface LaunchHandler
public boolean validationError(LaunchException security)
LaunchHandler
validationError
in interface LaunchHandler