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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For a single Graphics2D:
Call that on the
Graphics2Dyou are drawing on, and you will have anti-aliasing!!For global settings:
EDIT
By oreyes:
The first one did it!!!
alt text http://img35.imageshack.us/img35/4421/imagen1urb.png
vs.
alt text http://img169.imageshack.us/img169/4089/imagen2i.png