Class OnStartMessageNotifier
java.lang.Object
org.jjazz.startup.api.OnStartMessageNotifier
Helper methods to notify user of early startup messages via informational modal dialogs, when UI is ready.
@OnStart or OnStartTask should not directly use Netbeans modal NotifyDialogs because on Linux the dialog might be hidden behind the splash screen and unattainable! Instead use the methods provided here.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidpostErrorMessage(String msg) Display an error message when UI is ready.static voidpostInfoMessage(String msg) Display an info message when UI is ready.
-
Field Details
-
ON_SHOWING_TASK_PRIORITY
public static final int ON_SHOWING_TASK_PRIORITY- See Also:
-
-
Constructor Details
-
OnStartMessageNotifier
public OnStartMessageNotifier()
-
-
Method Details
-
postInfoMessage
Display an info message when UI is ready.- Parameters:
msg-
-
postErrorMessage
Display an error message when UI is ready.- Parameters:
msg-
-