<Swing Dev> [9] Review request for 8072900: Mouse events are captured by the wrong menu in OS X

Anton Nashatyrev anton.nashatyrev at oracle.com
Wed Mar 4 14:44:02 UTC 2015


Hello,
     could you please review the following fix:

fix: http://cr.openjdk.java.net/~anashaty/8072900/9/webrev.00/ 
<http://cr.openjdk.java.net/%7Eanashaty/8072900/9/webrev.00/>
bug: https://bugs.openjdk.java.net/browse/JDK-8072900

The problem: On MacOS if there are two frames with menu, the first is 
opened and the mouse moved over the second it causes the second menu to 
be opened.

The reason: the AquaMenuUI creates its own MouseHandler and the logic of 
mouseEnter() has not been completely ported from the BasicMenuUI.

Thanks!
Anton.



More information about the swing-dev mailing list