hg: macosx-port/macosx-port/jdk: Cleaning up JNF usage, finishing AWTWindow conversion to properties, blocks, and JNF usage.

Henri Gomez henri.gomez at gmail.com
Thu Apr 7 12:50:01 PDT 2011


2011/4/7 Mike Swingler <swingler at apple.com>:
> On Apr 7, 2011, at 12:35 PM, Henri Gomez wrote:
>
>>> Software Update should have given you the same thing as the manual JavaForMacOSX10.6Update4.dmg (they are effectively the same image). I'm very surprised that you had an old stale version of that header - the entire framework bundle should have been completely updated.
>>>
>>> We even explicitly added the new headers to the Software Update and Manual image instead of requiring people to download the Java Developer image.
>>>
>>> My fear is that installing Xcode 4 actually regressed the headers that the Java SU installed on your machine...if that's the case...great fear and doom...(and bugs I need to work out with the Xcode team).
>>
>> I installed XCode 4.0 and then 4.0.1 after Java Update 4.
>>
>> I tried SwingSet demo with the newly built OpenJDK but it started X11.
>>
>> Cocoa is still not available or should I use special flags on command line ?
>
> You still need to set:
> $AWT_TOOLKIT=CToolkit
>
> and use:
> -Dswing.defaultlaf=com.apple.laf.AquaLookAndFeel
>
> We haven't flipped the defaults for either of these yet (since they are both pretty horribly broken).

Yes but even heavily broken I couldn't resist to take a look :)

export AWT_TOOLKIT=CToolkit

java -jar SwingSet.jar -Dswing.defaultlaf=com.apple.laf.AquaLookAndFeel

Thanks guys, it was a long awaited screen shot !


More information about the macosx-port-dev mailing list