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 JScrollPane
getScrollableTextArea
(String value) static void
showErrorDialog
(Component parent, String title, Throwable throwable) Creates a dialog displaying the full stack trace of theThrowable
.static void
showTextAreaDialog
(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
-