How can I turn off anti-aliasing for one specific JLabel? It uses a very small font which might look better without anti-aliasing.
If important, I’m using Java 1.5 on Mac OS X.
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.
I think you’ll have to override the paint(Graphics g) method and draw the text yourself.