<AWT Dev> [8] Review Request: JDK-8024329 [macosx] JRadioButtonMenuItem behaves like a checkbox when using the ScreenMenuBar

Petr Pchelko petr.pchelko at oracle.com
Thu Oct 10 07:19:23 PDT 2013


Hello, AWT Team.

Please review the fix for the issue:
https://bugs.openjdk.java.net/browse/JDK-8024329
The fix is available at:
http://cr.openjdk.java.net/~pchelko/8024329/webrev.00/

The problem: for AWT menu the peer should update the menu item state unconditionally. However for the Swing menu items used in screen menubar swing should decide wether to update the state or not. So we should not unconditionally update the sate.
There's no regression test as there's no way to understand if the native menu item is checked or not.

With best regards. Petr.


More information about the awt-dev mailing list