public final class ThreadUtilities
extends java.lang.Object
Constructor and Description |
---|
ThreadUtilities() |
Modifier and Type | Method and Description |
---|---|
static void |
invokeAndWait(java.lang.Runnable runner)
Invoke a runnable object on the AWT event thread and wait for the
execution to finish.
|
static void |
invokeOnEventQueue(java.lang.Runnable runnable)
Invoke a runnable object on the AWT event thread.
|
public static void invokeAndWait(java.lang.Runnable runner)
runner
- Runnable capturing code to execute on the awt thread.public static void invokeOnEventQueue(java.lang.Runnable runnable)
Runnable
object is simply executed.runnable
- Runnable capturing code to execute on the awt thread.