Hello,
Could you review the fix:
bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8008728
webrev: http://cr.openjdk.java.net/~alexsch/8008728/webrev.00
Suppose there are 2 frames and one modal dialog which has the first
frame as a parent.
When we click on the second window the canBecomeMainWindow method
returns NO (the second window
is disabled because of the modal dialog) and it does not receive the
windowDidBecomeMain event.
But Mac OS X system places the second window over the modal dialog.
The fix checks the right order of windows in the canBecomeMainWindow
method.
Thanks,
Alexandr.