Hi, Could you try your fix with the test from https://jbs.oracle.com/bugs/browse/JDK-7196264 I suspect that it has the same cause.
On Dec 11, 2012, at 5:54 PM, Dmitry Cherepanov <dmitry.cherepa...@oracle.com> wrote: > Here's a patch for Mac-specific issue > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8001161 > (mac: Cannot enter password into the field unless "Show Console" is enabled) > > The cause of the issue is that there's a delay in delivering > NPCocoaEventWindowFocusChanged event to embedded frame and this event may > mistakenly deactivate window (which was activated by opposite "gained" > request before). The bug report includes more information. > > Webrev: http://cr.openjdk.java.net/~dcherepanov/8001161/webrev.0/ > > Thanks, > Dmitry >