Does apple.awt.brushMetalLook have any effect with Java 7
Paul Taylor
paul_t100 at fastmail.fm
Fri Aug 24 06:34:40 PDT 2012
On 24/08/2012 14:25, Marco Dinacci wrote:
> Hi,
>
>> Could you check your java version, give me code sample of how you make use o
>> it please
> I compile my own jvm from the latest source code.
>
> For an example, just use the ToolbarDemo
> http://docs.oracle.com/javase/tutorial/uiswing/examples/components/ToolBarDemoProject/src/components/ToolBarDemo.java
>
> and add:
>
> frame.getRootPane().putClientProperty("apple.awt.brushMetalLook", true);
>
Ah, thats works pefectly I was just setting the System property before.
Sorry, Ive fiddled about with mac look and feel over the years and used
various additional libs such as Quaqua and ExplodingPixels, sometimes
hard to keep track of what is in the core and what is not.
Paul
More information about the macosx-port-dev
mailing list