...to be done like this:
...set
com.apple.macos.useScreenMenuBar
to true. It is possible to do as JVM parameter (-D is your friend), but better within the application somewhere at the beginning in the main()
as follows: System.setProperty("com.apple.macos.useScreenMenuBar","true");
This is one more step toward Apple MacOSX integreation. However, this is good for Java 1.3 and less. These days we use 1.5 or 1.6 developers preview. :-) It is quite sad that Apple Java releases takes a gap for about a year, but on the other hand Java on Mac really that stable and reliable. Well, anyway, here is the list of deprecated values system properties that were available in Java 1.3.1 but are likely trying to be no longer supported since Java 1.4.1. This is not very true due to they are supported in Java 1.6, though it is nice to get rid of them ASAP:
1.
"com.apple.macos.use-file-dialog-packages"
and "com.apple.macos.useScreenMenuBar"
are replaced with "apple.laf.useScreenMenuBar"
.2.
"com.apple.macos.useSmallTabs"
and "com.apple.macosx.AntiAliasedTextOn"
are replaced with "apple.awt.textantialiasing"
.3.
"com.apple.mrj.application.growbox.intrudes"
replaced with "apple.awt.showGrowBox"
.