Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need help getting apple.laf.useScreenMenuBar to work



Kevin Hoyt wrote:

>           System.setProperty("apple.laf.useScreenMenuBar", "true");
>
>This does set the LAF correctly, but I still get one menu on each window.
>
>I've also tried to set this property in the bundle plist.... still not
>working

It works for me when I set it in my Info.plist files, so please be specific
and post the XML form of the Info.plist you're using.

The property has to be in the right place: in the "Properties"
sub-dictionary of a "Java" dictionary.  It can't be just anywhere.


Also see this bug (Radar #3909714):

<http://developer.apple.com/releasenotes/Java/Java142RNTiger/3_OutstandingIssues
/chapter_4_section_3.html>

Depending on which version of Java you're running with, you might be a
victim of that bug, er, I mean "known issue".


Is this an application you've written, or one obtained elsewhere that may
have been written with certain assumptions in mind?

Unless the application is overtly setting a PLAF and you've written code to
reverse that, or unless there's some reason you're programmatically setting
the Aqua PLAF, you're better off just letting it default to Aqua.  Or more
accurately, letting it default to whatever the user has the default set to,
which may not be Aqua, even on Mac OS X.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.