--- a/jdk/src/share/classes/java/awt/AWTEvent.java Fri Jun 19 16:49:50 2009 -0400
+++ b/jdk/src/share/classes/java/awt/AWTEvent.java Tue Jun 23 13:35:58 2009 +0400
@@ -32,6 +32,7 @@
import java.lang.reflect.Field;
import java.util.logging.Logger;
import java.util.logging.Level;
+import sun.awt.AWTAccessor;
/**
* The root event class for all AWT events.
@@ -230,6 +231,12 @@
if (!GraphicsEnvironment.isHeadless()) {
initIDs();
}
+ AWTAccessor.setAWTEventAccessor(
+ new AWTAccessor.AWTEventAccessor() {
+ public void setPosted(AWTEvent ev) {
+ ev.isPosted = true;
+ }
+ });
}
private static synchronized Field get_InputEvent_CanAccessSystemClipboard() {