Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: OpenJDK 1.7 under OS/X and question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenJDK 1.7 under OS/X and question



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. :)

Thanks!


Rob


 _______________________________________________
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

References: 
 >OpenJDK 1.7 under OS/X and question (From: Henri Gomez <email@hidden>)
 >Re: OpenJDK 1.7 under OS/X and question (From: Michael Hall <email@hidden>)
 >Re: OpenJDK 1.7 under OS/X and question (From: Henri Gomez <email@hidden>)
 >Re: OpenJDK 1.7 under OS/X and question (From: Pratik Solanki <email@hidden>)
 >Re: OpenJDK 1.7 under OS/X and question (From: Pratik Solanki <email@hidden>)
 >Re: OpenJDK 1.7 under OS/X and question (From: Alexander Strange <email@hidden>)
 >Re: OpenJDK 1.7 under OS/X and question (From: Henri Gomez <email@hidden>)
 >Re: OpenJDK 1.7 under OS/X and question (From: Henri Gomez <email@hidden>)
 >Re: OpenJDK 1.7 under OS/X and question (From: Henri Gomez <email@hidden>)
 >Re: OpenJDK 1.7 under OS/X and question (From: Henri Gomez <email@hidden>)
 >Re: OpenJDK 1.7 under OS/X and question (From: Henri Gomez <email@hidden>)
 >Re: OpenJDK 1.7 under OS/X and question (From: Mike Swingler <email@hidden>)
 >Re: OpenJDK 1.7 under OS/X and question (From: Rob Ross <email@hidden>)
 >Re: OpenJDK 1.7 under OS/X and question (From: Mike Swingler <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.