MenuBar in osx to set About, Preferences, Quit

johns at msli.com johns at msli.com
Wed Sep 2 19:20:48 UTC 2015


First bug says "Not part of the FX 8 PRD, , consider for future release"
  In my opinion this must have been an over sight.
  Hasn't changed since 2013, so it is a dead end.

Second bug says to use NSMenuFX (e.g. hybrid-app using swt).
  I need to avoid hybrid app issues.

How do I get a javafx solution if a good bug exists but isn't being
worked on?

On Wed, 2015-09-02 at 12:09 -0700, Leif Samuelsson wrote:
> See:
> 
> https://bugs.openjdk.java.net/browse/JDK-8091517
> https://bugs.openjdk.java.net/browse/JDK-8088585
> 
> Leif
> 
> On 2015-09-02 10:10, Kevin Rushforth wrote:
> > You can file an RFE at http://bugs.java.com/
> >
> > -- Kevn
> >
> >
> > johns at msli.com wrote:
> >> I would love to file a bug, as this is really big hole for javafx.
> >> As other gui tool kits support it, so should javafx.
> >>
> >> If I can log into to https://bugs.openjdk.java.net/ I will file a bug,
> >> if it doesn't exist, but right now login appears broken.
> >>
> >> On Wed, 2015-09-02 at 12:36 -0400, Tai Hu wrote:
> >>> I am totally agreed with you on this one. Unfortunately couple weeks ago, I spent days on searching solution for this issue. NSMenuFX is only one actually working.
> >>>
> >>> Tai
> >>>
> >>>> On Sep 2, 2015, at 11:02 AM, johns at msli.com wrote:
> >>>>
> >>>> 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