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: Synth with Apple-style menu bar?



Dear Kevin,

I think that Apple's Aqua Look and Feel creates an AWT menu bar, when the
'apple.laf.useScreenMenuBar' property is set to true.

The Synth L&F does not read this property and always creates a menu bar
inside of a JFrame.

An easy solution might be, to directly use AWT menu bars instead of Swing
menu bars. This should work with any L&F on the Mac.

With kind regards,
Werner

Am 5/24/05 11:05 PM schrieb "Kevin Roll" unter <email@hidden>:
> I am invoking my Swing client application with the parameter
> 'apple.laf.useScreenMenuBar=true' to get the Apple-style menu bar,
> where the menu is always at the top rather than hanging off of each
> individual JFrame. As part of our development we have just started
> using the Synth skinnable look-and-feel introduced in Java 1.5. Under
> Synth the menu bar no longer appears at the top and is back to being
> on the frames. I assume that the menu bar support is part of the
> apple.laf packages and that by using Synth we are dealing with an
> entirely separate codebase. Is there any way to make both of these
> things work or is it one or the other? Thanks.

 _______________________________________________
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: 
 >Synth with Apple-style menu bar? (From: Kevin Roll <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.