jdk/src/share/classes/java/awt/Dialog.java
changeset 13652 42544e68dc39
parent 12661 6cf8b7116579
child 16099 fb978a77b3e7
child 15318 607db339afcc
--- 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);
                 }