|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.utils.swing.BuildAndShowAlert
public class BuildAndShowAlert
Builds an later message dialog with a traceback and informative text.
This alert is used to report Java exceptions. It contains the stop icon, a title, an optional additional message supplied by the caller, optional text to display before the stack trace, and a full stack trace in a scrolling text area.
Constructor Summary | |
---|---|
protected |
BuildAndShowAlert()
Don't allow instantiation, do allow overrides. |
Method Summary | |
---|---|
static void |
buildAndShowAlert(java.lang.Throwable t,
java.lang.String title,
java.lang.String msg,
java.lang.String extraVerbiage,
java.awt.Frame parentWindow)
Builds and shows the alert. |
protected static void |
doBuildAndShowAlert(java.lang.Throwable t,
java.lang.String title,
java.lang.String msg,
java.lang.String extraVerbiage,
java.awt.Frame parentWindow)
Builds and shows the alert. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BuildAndShowAlert()
Method Detail |
---|
protected static void doBuildAndShowAlert(java.lang.Throwable t, java.lang.String title, java.lang.String msg, java.lang.String extraVerbiage, java.awt.Frame parentWindow)
Must be called on the AWT event dispatching thread.
t
- The throwable.title
- The title.msg
- The error message, or null if none.extraVerbiage
- The extra verbiage, or null if none.parentWindow
- The parent window, or null if none. public static void buildAndShowAlert(java.lang.Throwable t, java.lang.String title, java.lang.String msg, java.lang.String extraVerbiage, java.awt.Frame parentWindow)
Must be called on the AWT event dispatching thread.
t
- The throwable.title
- The title.msg
- The error message, or null if none.extraVerbiage
- The extra verbiage, or null if none.parentWindow
- The parent window, or null if none.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |