On Nov 30, 2010, at 5:48 PM, Mike Swingler wrote:
> On Nov 30, 2010, at 5:28 PM, Rob Ross wrote:
>> What will be the best email list to use for discussion on this project? The open-bsd list, or a mac-specific openJDK list, or will this Apple java-dev list be appropriate? I have questions and requests but have held off asking until the official channels are established.
>> Thanks, and I'm looking forward to getting this project started!
> The Mac OS X OpenJDK project will have it's own dev list, however the project was just proposed today, so it still needs to be approved and setup on the java.net servers.
> Until then, I'm happy to answer any questions here, to the best of my ability.
> Mike Swingler
> Java Engineering
> Apple Inc.
Well, for starters, can we factor the new Mac OpenJDK port to support alternative main screen menu bar implementations?
The how & why are incidental to the request, but briefly, my biggest pet peeve has always been that the Apple-supplied main menu implementation did not support all the JMenuBar/JMenu/JMenuItem API, especially regarding custom drawing.
I'd like my JMenus/JMenuItems that have custom drawing to be useable in the Apple main menu bar. I have some ideas on how to accomplish this. Since NSMenuItem supports setting a custom NSView, all drawing could be rendered in Java to an Image then passed to the native peer and rendered in that NSView. I'd also like to be able to update the Application menu in real-time when the default Locale is changed in Java (currently I can change menu titles/items to another language on all my menu items except the Apple-provided Application menu.) And I'd like to fix the Help menu so when the Java Locale changes, and the title of the Help menu changes to the new Locale string, the the Help menu works correctly even though the literal text of that menu is no longer "Help". Etc.
Even if Apple-OpenJDK doesn't want to implement these kinds of things, others (such as myself) could do so, as long as the main trunk plays nice with alternative implementations and doesn't make assumptions about the One True Menu Bar. :)
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden