Mac conventions

Jeff McDonald at
Tue Feb 21 10:48:37 PST 2012

There are two ways to activate the use of the system menubar on a Mac:
1. In the menubar class call menubar.setUseSystemMenuBar(true);
2. Set the css for the menubar with ".menu-bar {-fx-use-system-menu-bar:


On Tue, Feb 21, 2012 at 7:49 AM, Stephen Winnall <steve at> wrote:

> I'm getting to know JavaFX 2.1 b13 under Mac OS X 10.7.3.
> Does anyone have any tips on how to make menus "do the right thing" on the
> Mac (i.e. appear in the system menu bar at the top of the screen)?
> Steve

More information about the openjfx-dev mailing list