views:

230

answers:

1

I remember, not too long ago, somebody post a link on how to specify the global rendering hints to use anti-alias in java.

Unfortunately I can't find the question.

How can I specify the rendering hint to use anti-alias in swing?

+3  A: 
jjnguy
I guess it will work if used as first line ( or second ) in the main function :P ...
OscarRyz
Wow, what a difference! p.s. You spelled '`Hello`' wrong. `:P`
jjnguy
Although I think it was another system property, this did the work. The one displayed in the screenshot is: java -Dawt.useSystemAAFontSettings=on say.Hello
OscarRyz
Need to be the first line in main() in a large amount of cases. I'd highly encourage it :D
Hugo