程序包 proguard.gui
类 SwingUtil
- java.lang.Object
-
- proguard.gui.SwingUtil
-
public class SwingUtil extends java.lang.ObjectThis utility class provides variants of the invocation method from theSwingUtilitiesclass.- 另请参阅:
SwingUtilities
-
-
构造器概要
构造器 构造器 说明 SwingUtil()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static voidinvokeAndWait(java.lang.Runnable runnable)Invokes the given Runnable in the AWT event dispatching thread, and waits for it to finish.static voidinvokeLater(java.lang.Runnable runnable)Invokes the given Runnable in the AWT event dispatching thread, not necessarily right away.
-
-
-
方法详细资料
-
invokeAndWait
public static void invokeAndWait(java.lang.Runnable runnable) throws java.lang.InterruptedException, java.lang.reflect.InvocationTargetExceptionInvokes the given Runnable in the AWT event dispatching thread, and waits for it to finish. This method may be called from any thread, including the event dispatching thread itself.- 参数:
runnable- the Runnable to be executed.- 抛出:
java.lang.InterruptedExceptionjava.lang.reflect.InvocationTargetException- 另请参阅:
SwingUtilities.invokeAndWait(Runnable)
-
invokeLater
public static void invokeLater(java.lang.Runnable runnable)
Invokes the given Runnable in the AWT event dispatching thread, not necessarily right away. This method may be called from any thread, including the event dispatching thread itself.- 参数:
runnable- the Runnable to be executed.- 另请参阅:
SwingUtilities.invokeLater(Runnable)
-
-