Ulzurrun de Asanza i Sàez

Java + OS X: Put Menu Bar in the right place

Dear  programmers who develop Java applications for OS X, please, add this line to your application:
[java]System.setProperty(“apple.laf.useScreenMenuBar”, “true”);[/java]
It will place the menu bar where it is expected to be in an OS X application.


No replies on “Java + OS X: Put Menu Bar in the right place

There are no comments yet.

Leave a Reply

Your email address will not be published.

Required fields are marked *

Your avatar