|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.iids.aos.util.SwingUtil
public class SwingUtil
| Constructor Summary | |
|---|---|
SwingUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
awtThreadInvokeLater(java.lang.Runnable r)
Invoke runnable in the event dispatcher thread. |
static boolean |
awtThreadInvokeNow(java.lang.Runnable r)
Invoke & wait in the event dispatcher thread. |
static void |
nonAwtThreadInvokeLater(java.lang.Runnable r)
Invokes a Runnable in a different thread than the event
dispatcher thread. |
static void |
nonAwtThreadInvokeNow(java.lang.Runnable r)
Deprecated. No sense in using this method, as it blocks the event dispatcher anyway (even though it uses a non-awt thread, it still waits for it..) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SwingUtil()
| Method Detail |
|---|
public static boolean awtThreadInvokeNow(java.lang.Runnable r)
r - The Runnable to execute.public static boolean awtThreadInvokeLater(java.lang.Runnable r)
Runnable is invoked sometime in the future.
r - The Runnable to execute.@Deprecated public static void nonAwtThreadInvokeNow(java.lang.Runnable r)
Runnable.run() method finished.
If the current thread is the event dispatcher thread then a new thread
is created for the Runnable. Otherwise the current thread runs it.
public static void nonAwtThreadInvokeLater(java.lang.Runnable r)
Runnable in a different thread than the event
dispatcher thread. Returns immediately, the runnable is executed
sometime in the future.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||