- java.lang.Object
-
- util.ui.UIThreadRunner
-
public class UIThreadRunner extends java.lang.Object
run the given runnables always in the UI thread, regardless of calling thread- Author:
- Bananeweizen
-
-
Constructor Summary
Constructors Constructor Description UIThreadRunner()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
invokeAndWait(java.lang.Runnable runnable)
static void
invokeLater(java.lang.Runnable runnable)
-
-
-
Method Detail
-
invokeAndWait
public static void invokeAndWait(java.lang.Runnable runnable) throws java.lang.InterruptedException, java.lang.reflect.InvocationTargetException
- Throws:
java.lang.InterruptedException
java.lang.reflect.InvocationTargetException
-
invokeLater
public static void invokeLater(java.lang.Runnable runnable)
-
-