This content has been marked as final. Show 3 replies
Yes, to your question.
I am setting that boolean value, and javaFX behaves correctly in that when that value is true, it puts the menu bar at the top of the screen as expected on Mac OS X, instead of in the window.
The problem is, at it stands now, when you run or deploy an OS X app using JavaFX, the expected Macintosh Application Menu is incomplete. All you get is a "Quit" item. On the mac, you should see menu items for "Preferences", "Services", "About", as well as "Quit", but I don't see any calls or 'hooks' to modify the application menu to make it look right for the Mac.
In fact, what I am seeing on deployed JavaFX apps for the Mac by other developers are the "About" and "Preference" menu items under either the "File" menu, or under the "Help" menu, not under the Application menu, where they are expected by Mac users.
Even more interesting, even though you don't see a proper Mac Application menu created with a pure JavaFX app with the system menu bar selected as true, it is correctly implemented if you create a project with a JavaFX/Swing hybrid app. That is certainly one work around for this particular issue, but it is a bit wasteful to implement a Swing app with the additional overhead just for this one menu.
So, my original question was, is this a feature not yet implemented in JavaFX, or is there a method that permits one to modify the Application menu when the system menu bar is implemented?
is this a feature not yet implemented in JavaFXProbably not yet implemented.
You can lodge a feature request against the runtime project at http://javafx-jira.kenai.com/ and link back to this forum post in the request.
is there a method that permits one to modify the Application menu when the system menu bar is implemented?Probably not.