MenuBar in osx to set About, Preferences, Quit

Tai Hu tai.hu at veroanalytics.com
Wed Sep 2 20:16:50 UTC 2015


Michael,
      I checked out eawt couple weeks ago when I search the solution for this issue. It seems that there is no updates since 2010 and I played with it for a little while. It seems not working with latest OS X and JavaFX 8. I cannot control the Mac menu bar by using the eawt.

Tai

> On Sep 2, 2015, at 3:28 PM, Michael Hall <mik3hall at gmail.com> wrote:
> 
>> On Sep 2, 2015, at 9:05 AM, 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)?
>> 
>> 
>> Please respond with only methods that do swing, awt, or eawt, as I have
>> not seen this published anywhere.
>> 
> 
> I’m not quite following this. Maybe there is another eawt, but when I see that I think of the Apple API’s for this which are I believe are still supported. 
> Is this what you mean?
> These were used in the past on Apple jvm’s to provide this functionality to java app’s and were I think open sourced and given to the openjdk project when Apple turned over it’s java related. 
> Is this what you mean by eawt? And are you saying this is or is not acceptable. 
> That support has nothing to do with javapackager as far as I know. 
> It was indicated to me at some point that support for these legacy Apple API’s now informally belongs to the awt group. Also that they would probably continue to be available in Java 9 as part of the Desktop module? If I remember right. 
> 
> Michael Hall
> 
> 
> 
> 
> 



More information about the openjfx-dev mailing list