Class IrisTextDialogUtils

java.lang.Object
com.illumon.util.gui.IrisTextDialogUtils

public class IrisTextDialogUtils
extends Object
Text area dialog with the Iris icon.
  • Constructor Details

  • Method Details

    • showErrorDialog

      public static void showErrorDialog​(Component parent, String title, @NotNull Throwable throwable)
      Creates a dialog displaying the full stack trace of the Throwable.
      Parameters:
      parent - parent of the dialog
      title - title of the dialog
      throwable - error message. Must not be null
    • showTextAreaDialog

      public static void showTextAreaDialog​(Component parent, String title, String value)
      Creates a dialog displaying the message.
      Parameters:
      parent - parent of the dialog
      title - title of the dialog
      value - message to display
    • getScrollableTextArea

      @NotNull public static JScrollPane getScrollableTextArea​(String value)