jdk/src/share/classes/sun/awt/AWTAccessor.java
Print this page
rev 5725 : Merge
@@ -33,10 +33,11 @@
import java.awt.geom.Point2D;
import sun.misc.Unsafe;
import java.awt.peer.ComponentPeer;
+import java.lang.reflect.InvocationTargetException;
import java.security.AccessControlContext;
import java.io.File;
import java.util.Vector;
@@ -475,10 +476,16 @@
/**
* Called from PostEventQueue.postEvent to notify that a new event
* appeared.
*/
void wakeup(EventQueue eventQueue, boolean isShutdown);
+
+ /**
+ * Static in EventQueue
+ */
+ void invokeAndWait(Object source, Runnable r)
+ throws InterruptedException, InvocationTargetException;
}
/*
* An accessor for the PopupMenu class
*/