<Swing Dev> [13] Review Request: 8061381 [macosx] Accelerators does not spelled for JMenuItems by Voice Over
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Thu Jan 24 17:16:43 UTC 2019
Hello.
Please review the fix for jdk 13.
Bug: https://bugs.openjdk.java.net/browse/JDK-8061381
Fix: http://cr.openjdk.java.net/~serb/8061381/webrev.00
This fix adds the support of swing menu accelerators for Voice Over on macOS
(note that swing menu is used when the "apple.laf.useScreenMenuBar" is false).
If the property "apple.laf.useScreenMenuBar" is true we use the native menu which
is already supported by the VoiceOver.
The fix will convert the accelerator to the string which is passed to the VO, the logic
which is used to access the KeyStroke and convert it to the string is similar to what
we use on windows in the accessbridge.
--
Best regards, Sergey.
More information about the swing-dev
mailing list