<AWT Dev>  Review Request: 8048549 [macosx] Disable usage of system menu bar if AWT is embedded in FX
anthony.petrov at oracle.com
Wed Jul 2 14:37:21 UTC 2014
The fix looks fine to me.
Note that there's also AWT API to set a menubar, and it seems (I haven't
investigated deeply) that the LWAWT implementation uses the system menu
bar unconditionally in this case. I believe we can assume that AWT API
isn't used widely and we can leave it as it is. But it's worth noting
this in the bug comments.
On 7/2/2014 6:25 PM, Petr Pchelko wrote:
> Hello, AWT Team.
> Please review the fix for the issue:
> The fix is available at:
> We need to disable the screenMenuBar if AWT is embedded into FX. Only the top-level UI toolkit should work with the global menu bar.
> We are already doing the same thing in FX. I've also added some cleanup into the fix. No test provided because we do not have tests for
> embedded mode.
> With best regards. Petr.
More information about the awt-dev