diff options
author | Omair Majid <[email protected]> | 2011-03-30 11:47:41 -0400 |
---|---|---|
committer | Omair Majid <[email protected]> | 2011-03-30 11:47:41 -0400 |
commit | e10781541da8ef982080b5b0c2ed3e8ced6f47d4 (patch) | |
tree | d5fabfafa62176b343749e5460d7a726be5ab58b /ChangeLog | |
parent | 8f8099cbfacfcd8066e4b4622fd208cec5e82792 (diff) |
Add a new LaunchHandler to show error messages when starting applications
This LaunchHandler is only used when not running in headless mode. This
launchHandler is also responsible for showing the splash screen.
2011-03-30 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/LaunchHandler.java
(launchInitialized, launchStarting): New methods.
* netx/net/sourceforge/jnlp/DefaultLaunchHandler.java
(launchInitialized, launchStarting): New methods. No-op
implementation.
(printMessage): Make it static.
* netx/net/sourceforge/jnlp/GuiLaunchHandler.java: New file.
(launchCompleted, launchError, launchStarting, launchInitialized),
(launchWarning, validationError): New methods.
* netx/net/sourceforge/jnlp/Launcher.java (launchApplication):
Invoke handler.launchInitialized and handler.launchStarting instead
of showing a splash screen directly.
* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
ButShowDetails, ButHideDetails and Error.
* netx/net/sourceforge/jnlp/runtime/Boot.java (run): Do not exit on
error.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
(initialize): Set handler to GuiLaunchHandler if not running in
headless mode.
* netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java: New
file.
(exceptionToString, show): New methods.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -1,3 +1,28 @@ +2011-03-30 Omair Majid <[email protected]> + + * netx/net/sourceforge/jnlp/LaunchHandler.java + (launchInitialized, launchStarting): New methods. + * netx/net/sourceforge/jnlp/DefaultLaunchHandler.java + (launchInitialized, launchStarting): New methods. No-op + implementation. + (printMessage): Make it static. + * netx/net/sourceforge/jnlp/GuiLaunchHandler.java: New file. + (launchCompleted, launchError, launchStarting, launchInitialized), + (launchWarning, validationError): New methods. + * netx/net/sourceforge/jnlp/Launcher.java (launchApplication): + Invoke handler.launchInitialized and handler.launchStarting instead + of showing a splash screen directly. + * netx/net/sourceforge/jnlp/resources/Messages.properties: Add + ButShowDetails, ButHideDetails and Error. + * netx/net/sourceforge/jnlp/runtime/Boot.java (run): Do not exit on + error. + * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java + (initialize): Set handler to GuiLaunchHandler if not running in + headless mode. + * netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java: New + file. + (exceptionToString, show): New methods. + 2011-03-29 Denis Lila <[email protected]> * netx/net/sourceforge/jnlp/JNLPFile.java |