MenuBar in osx to set About, Preferences, Quit
johns at msli.com
johns at msli.com
Wed Sep 2 15:02:54 UTC 2015
This method sends us down a hybrid-app route, which I am trying to get
away from.
Is there no pure javafx complete solution for OSX?
On Wed, 2015-09-02 at 10:33 -0400, Tai Hu wrote:
> I used NSMenuFX, which is using eclipse swt. It works very well on Mac
> OS
>
>
> Tai
>
> On Wednesday, September 2, 2015, johns at msli.com <johns at msli.com>
> wrote:
> 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.
>
>
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