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




On May 16, 2006, at 5:41 PM, Kevin Hoyt wrote:


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

Should work,depending on jvm version. It used to be something else, com.apple.macos.useScreenMenuBar before 1.4 I think, but thats the current property. It might need to be set in startup. You'd probably have to track that down in the doc to be sure.


Please excuse my taking the opportunity to exercise my app but it does what you indicate and shows this for Apple properties from the shell console.

set apple.*
apple.laf.useScreenMenuBar=true
apple.awt.showGrowBox=true
apple.awt.graphics.UseQuartz=true

or

set | grep ^apple.*
System.in:67:apple.laf.useScreenMenuBar=true
System.in:70:apple.awt.showGrowBox=true
System.in:95:apple.awt.graphics.UseQuartz=true

I think I'm finally getting the hang of regular expressions a little bit.

set java.version
java.version=1.5.0_06

could possibly still be the catch for yours.
Or maybe it's just typo'd in the plist

System.out.println(System.getProperty("apple.laf.useScreenMenuBar"));

to verify without my app.

Some of the doc...
http://developer.apple.com/technotes/tn/tn2031.html
http://developer.apple.com/releasenotes/Java/java141/ system_properties/chapter_4_section_2.html



Mike Hall mikehall at spacestar dot net http://www.spacestar.net/users/mikehall http://sourceforge.net/projects/macnative



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >need help getting apple.laf.useScreenMenuBar to work (From: Kevin Hoyt <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.