Java System.setProperty (get JMenuBar on mac menu bar)
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