Class PopupWindowProvider

java.lang.Object
ch.nolix.base.environment.localcomputer.PopupWindowProvider

public final class PopupWindowProvider extends Object
The PopupWindowProvider provides methods to show small pop-up windows. Of the PopupWindowProvider an instance cannot be created.
Author:
Silvan Wyss
  • Method Details

    • showErrorWindow

      public static void showErrorWindow(String errorMessage)
      Shows an error window with the given error message.
      Parameters:
      errorMessage -
    • showErrorWindow

      public static void showErrorWindow(Throwable error)
      Shows an error window for the given error.
      Parameters:
      error -
    • showMessageWindow

      public static void showMessageWindow(String message)
      Shows a message window with the given message.
      Parameters:
      message -
    • showRequestWindow

      public static boolean showRequestWindow(String question)
      Shows a request window with the given question.
      Parameters:
      question -
      Returns:
      true if the yes-button was selected, false otherwise.