Enable anti-aliasing in Swing applications


/ Published in: Java
Save to your folder(s)



Copy this code and paste it in your HTML
  1. // enable anti-aliased text:
  2. System.setProperty("awt.useSystemAAFontSettings","on");
  3. System.setProperty("swing.aatext", "true");

URL: http://stackoverflow.com/questions/179955/how-do-you-enable-anti-aliasing-in-arbitrary-java-apps

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.