MenuBar in osx to set About, Preferences, Quit
johns at msli.com
johns at msli.com
Wed Sep 2 14:15:01 UTC 2015
Please respond with only methods that do NOT use swing, awt, or eawt, as
I have not seen this published anywhere.
On Wed, 2015-09-02 at 07:05 -0700, johns at msli.com wrote:
> What is the method for a pure javafx app to control the osx application
> menu bar (e.g. About, Preferences, Quit, etc)?
>
> The menu bar area I am asking about can be seen in a native Mac OS
> applications menu under <AppName>:
> About <AppName>
> Preferences...
> Services
> Hide <AppName>
> Hide Others
> Show All
> Quit <AppName>
>
> When I use the javapackager (aka javafxpackager ) to make a stand alone
> app on osx the title of this bar becomes my app name, however how do I
> control the other parts (e.g. About, Preferences, Quit, etc)?
>
> My javafx application has a javafx MenuBar in each window (Stage) with
> the property useSystemMenuBar set to true, in order to show a
> more-native behavior, where the menu bar appears in the Apple menu bar
> at the top of the screen for the active window, but this does not give
> me control over the areas in question.
>
> Please respond with only methods that do swing, awt, or eawt, as I have
> not seen this published anywhere.
>
>
> NOTICE: This email may contain confidential information. Please see http://www.meyersound.com/confidential/ for our complete policy.
More information about the openjfx-dev
mailing list