>> I have a need to turn anti-aliasing _off_ for certain jlabels.
>> My 1.4 code no longer works in 1.6 (setting rendering hints).
>
> see http://mindprod.com/jgloss/antialiasing.html

Signature
Knute Johnson
email s/nospam/knute/
------->>>>>>http://www.NewsDem
On Fri, 25 Jan 2008 21:27:30 -0800, Knute Johnson
<nospam@rabbitbrush.frazmtn.com> wrote, quoted or indirectly quoted
someone who said :
>So is there a way to turn it off for a specific component? All
>anti-aliasing can be turned off with the -D option even if Clear Type is
>on. But if Clear Type is on or the -D option specifies anti-alias on
>you can't turn it off in the paintComponent() method.
In JDK 1.6+ there are also new values to use in setRenderingHints key
and value, including VALUE_ANTIALIAS_OFF to turn anti-aliasing off.
http://java.sun.com/javase/6/docs/api/java/awt/RenderingHints.html

Signature
Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com
Knute Johnson - 27 Jan 2008 03:52 GMT
> On Fri, 25 Jan 2008 21:27:30 -0800, Knute Johnson
> <nospam@rabbitbrush.frazmtn.com> wrote, quoted or indirectly quoted
[quoted text clipped - 9 lines]
>
> http://java.sun.com/javase/6/docs/api/java/awt/RenderingHints.html
Apparently you can't stop XP from drawing with Clear Type by selecting
the anti-alias off on the Graphics2D.

Signature
Knute Johnson
email s/nospam/knute/
------->>>>>>http://www.NewsDem
Roedy Green - 27 Jan 2008 07:56 GMT
On Sat, 26 Jan 2008 19:52:42 -0800, Knute Johnson
<nospam@rabbitbrush.frazmtn.com> wrote, quoted or indirectly quoted
someone who said :
>Apparently you can't stop XP from drawing with Clear Type by selecting
>the anti-alias off on the Graphics2D.
That sounds like a BUG.

Signature
Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com
Knute Johnson - 27 Jan 2008 18:22 GMT
> On Sat, 26 Jan 2008 19:52:42 -0800, Knute Johnson
> <nospam@rabbitbrush.frazmtn.com> wrote, quoted or indirectly quoted
[quoted text clipped - 4 lines]
>
> That sounds like a BUG.
Or a feature!

Signature
Knute Johnson
email s/nospam/knute/
------->>>>>>http://www.NewsDem