Java on Mac OS X
Changes in application menus on OS X 10.4.x
When running a Java application in Mac OS X 10.4.x (Tiger), the apple.laf.useScreenMenuBar property is examined and applied earlier in the application startup sequence than in prior versions of the operating system. Thus setting this property to true in your application's GUI startup code may have no effect. Accordingly, you should set this property in one of the following ways:
- In the
Info.plistfile - As an argument to the
javacommand; e.g.,-Dapple.laf.useScreenMenuBar=true
If you are developing in the Netbeans environment, you can do the following. Note that this example comes from version 4.1 of Netbeans.


