Package com.illumon.util.gui
Class IrisTextDialogUtils
java.lang.Object
com.illumon.util.gui.IrisTextDialogUtils
Text area dialog with the Iris icon.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JScrollPanegetScrollableTextArea(String value) static voidshowErrorDialog(Component parent, String title, Throwable throwable) Creates a dialog displaying the full stack trace of theThrowable.static voidshowTextAreaDialog(Component parent, String title, String value) Creates a dialog displaying the message.
-
Constructor Details
-
IrisTextDialogUtils
public IrisTextDialogUtils()
-
-
Method Details
-
showErrorDialog
Creates a dialog displaying the full stack trace of theThrowable.- Parameters:
parent- parent of the dialogtitle- title of the dialogthrowable- error message. Must not be null
-
showTextAreaDialog
Creates a dialog displaying the message.- Parameters:
parent- parent of the dialogtitle- title of the dialogvalue- message to display
-
getScrollableTextArea
-