|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evanmclean.evlib.swing.Swing
public final class Swing
Handy utilities for swing.
Method Summary | |
---|---|
static void |
displayException(Component parent,
Throwable ex,
String msg,
String title)
Displays a message dialog box with details of the exception object, including the stack trace in a scrollbox. |
static void |
setSystemLookAndFeel()
Sets swing to use the system look and feel for the operating system (if available), ignoring any exceptions if they occur. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void displayException(Component parent, Throwable ex, String msg, String title)
parent
- The parent component of the dialog box.ex
- The exception object.msg
- An optional message (null to not use).title
- The title for the dialog box.public static void setSystemLookAndFeel()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |