Java System.setProperty (get JMenuBar on mac menu bar)

Hi,

I am currently building a Java application using Eclipse IDE. I have written GUI programs on OS X 10.4 before and managed to get the JMenuBar on the mac menu bar using

System.setProperty("apple.laf.useScreenMenuBar", "true");

But for some reason when using leopard the JMenuBar seems to disappear totally. When i don't use the above line it shows on the JFrame as it should do.

System.setProperty("com.apple.mrj.application.apple.menu.about.name", "AppName");

The above line doesn't work either with OS X 10.5


Anyone have any experience with this and had any success?

Thanks,

Sion

White MacBook, Mac OS X (10.5.1), Core 2 Duo 2GHz, 2GB RAM, 250GB HDD

Posted on Jan 23, 2008 4:58 PM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Java System.setProperty (get JMenuBar on mac menu bar)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.