Re: How to turn off Antialiasing in 1.6?



Roedy Green wrote:
On Fri, 25 Jan 2008 23:43:21 GMT, Alia <Alia@..> wrote, quoted or
indirectly quoted someone who said :

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

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.

--

Knute Johnson
email s/nospam/knute/

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDem
.