Feasibility of integrating an Aqua interface

Werner Randelshofer werner.randelshofer at bluewin.ch
Tue Dec 4 10:10:02 PST 2007


Dear Emmanuel,


On 03.12.2007, at 21:14, Emmanuel Puybaret wrote:
> I would propose to integrate to OpenJDK a version of Quaqua look and  
> feel
> with the same lock used in WindowsLookAndFeel. If some people  
> disable this
> lock, it's their problem not yours !

I would like to integrate it too, but we have to do it on a solid  
legal basis.


> I would try also to contact Apple legal team. Maybe Apple Java team  
> will be
> able to give some advice.

Maybe we don't need to integrate copyrighted artwork into OpenJDK at  
all.

Thanks to Dmitri's pointer and some great help by an off list reply,  
we might be able to substantially reduce the amount of artwork needed  
in the source code:

It turns out, that Apple ported the Carbon HITheme API to 64 bit.
Using this API one can render elements of Aqua components.

On my computer the HITheme.h file is located in the directory
  /Developers/SDKs/MacOSX10.5.skd/System/Library/Frameworks/ 
Carbon.framework/Versions/A/Frameworks/HIToolbos.framework/Versions/A/ 
Headers

I don't know how far this API will get us. But it is sure worth a try.


> BTW, I started the implementation of an AWT Toolkit based on SWT.
> I succeeded to display an AWT Frame with AWT Buttons. At this time, it
> didn't look so difficult but as always, the first programming lines  
> are not
> the most difficult ones. ;-)

That's great. I am looking forward to see the first working AWT Frame  
with Buttons in SoyLatte. :)

With best regards,
Werner



More information about the porters-dev mailing list