This commit is contained in:
Dmitry Avdeev
2014-03-04 13:51:44 +04:00
parent 2691cb0145
commit b1ae53cdef
@@ -1585,6 +1585,7 @@ public class UIUtil {
g.setComposite(X_RENDER_ACTIVE.getValue() ? AlphaComposite.SrcOver : AlphaComposite.Src);
}
/** @see #pump() */
@TestOnly
public static void dispatchAllInvocationEvents() {
assert SwingUtilities.isEventDispatchThread() : Thread.currentThread();
@@ -1604,6 +1605,7 @@ public class UIUtil {
}
}
/** @see #dispatchAllInvocationEvents() */
@TestOnly
public static void pump() {
assert !SwingUtilities.isEventDispatchThread();