Class OnStartMessageNotifier

java.lang.Object
org.jjazz.startup.api.OnStartMessageNotifier

public class OnStartMessageNotifier extends Object
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:
  • Field Details

    • ON_SHOWING_TASK_PRIORITY

      public static final int ON_SHOWING_TASK_PRIORITY
      See Also:
  • Constructor Details

    • OnStartMessageNotifier

      public OnStartMessageNotifier()
  • Method Details

    • postInfoMessage

      public static void postInfoMessage(String msg)
      Display an info message when UI is ready.
      Parameters:
      msg -
    • postErrorMessage

      public static void postErrorMessage(String msg)
      Display an error message when UI is ready.
      Parameters:
      msg -