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?




On May 24, 2005, at 5:17 PM, Werner Randelshofer wrote:

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.


After some work I was able to get my app semi-working with AWT menu bars. It took a lot of hacking and the results are not very satisfactory. AWT menu bars do not support Actions, icons on the menu items, and several other things.

I don't believe that Aqua creates AWT menu bars because my previous interface had all of the Swing bells and whistles such as the icons on the menu bars. Really, for consistency, Apple should support using this property with the Synth interface. I'm stuck at the moment and I don't know which way to go with my application...

Thanks for the suggestion, though.

Attachment: PGP.sig
Description: This is a digitally signed message part

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