|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.utils.swing.SwingRunner
public class SwingRunner
Constructor Summary | |
---|---|
SwingRunner()
|
Method Summary | |
---|---|
static void |
runlater(java.lang.Runnable runnable)
Runs a Runnable on the AWT Event Dispatching Thread without waiting. |
static void |
runNow(java.lang.Runnable runnable)
Runs and waits for a Runnable on AWT Event Dispatching Thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwingRunner()
Method Detail |
---|
public static void runNow(java.lang.Runnable runnable)
runnable
- Runnable to execute on AWT Event Dispatching
thread.
Runs a runnable and waits for it to complete. May be called whether or not the current thread is the AWT Event dispatching thread.
public static void runlater(java.lang.Runnable runnable)
runnable
- Runnable to execute on AWT Event Dispatching
thread.
Runs a runnable. May be called whether or not the current thread is the AWT Event dispatching thread.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |