|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evanmclean.evlib.swing.SafeOptionPane
public final class SafeOptionPane
Thread safe JOptionPane calls.
Method Summary | |
---|---|
static int |
showConfirmDialog(Component parent,
Object msg,
String title,
int option_type)
Calls JOptionPane.showConfirmDialog in a thread-safe manner. |
static String |
showInputDialog(Component parent,
Object msg,
String initial_value)
Calls JOptionPane.showInputDialog in a thread-safe manner. |
static void |
showMessageDialog(Component parent,
Object msg,
String title,
int message_type)
Calls JOptionPane.showMessageDialog in a thread-safe manner. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int showConfirmDialog(Component parent, Object msg, String title, int option_type) throws InterruptedException, InvocationTargetException
parent
- msg
- title
- option_type
-
InterruptedException
InvocationTargetException
public static String showInputDialog(Component parent, Object msg, String initial_value) throws InterruptedException, InvocationTargetException
parent
- msg
- initial_value
-
InterruptedException
InvocationTargetException
public static void showMessageDialog(Component parent, Object msg, String title, int message_type) throws InterruptedException, InvocationTargetException
parent
- msg
- title
- message_type
-
InterruptedException
InvocationTargetException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |