--- a/jdk/src/share/classes/java/awt/Dialog.java Fri Aug 31 14:49:23 2012 +0400
+++ b/jdk/src/share/classes/java/awt/Dialog.java Fri Aug 31 16:31:29 2012 +0400
@@ -924,7 +924,7 @@
isEnabled() && !isModalBlocked()) {
// keep the KeyEvents from being dispatched
// until the focus has been transfered
- time.set(Toolkit.getEventQueue().getMostRecentEventTimeEx());
+ time.set(Toolkit.getEventQueue().getMostRecentKeyEventTime());
KeyboardFocusManager.getCurrentKeyboardFocusManager().
enqueueKeyEvents(time.get(), toFocus);
}