<AWT Dev> [9] Review request for 8166683: On macOS (Mac OS X) getting a ScreenMenuBar when not running "com.apple.laf.AquaLookAndFeel"

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Nov 11 11:14:02 UTC 2016


Hi, Alexander.
Did you run the tests on non-Aqua l&f? I assume that we can have a 
places in other l&f where we try to cast the MenuBarUI to some specific 
UI delegate.

On 09.11.16 16:58, Alexander Zvegintsev wrote:
> Hello,
>
> please review the fix
>
> http://cr.openjdk.java.net/~azvegint/jdk/9/8166683/00/
>
> for the issue
>
> https://bugs.openjdk.java.net/browse/JDK-8166683
>
> This fix adds support for ScreenMenuBar for L&F's other than Aqua.
>
> With this fix it is enabled by default if apple.laf.useScreenMenuBar
> property is true.
>
> This behavior can be disabled by setting
> apple.laf.disableForcedScreenMenuBar property to true.
>


-- 
Best regards, Sergey.


More information about the awt-dev mailing list