how to make JTextPane paint anti-aliased font?
in the a swing app i'm rendering text with a custom JComponent , using Graphics.drawString() . here is a sample: aa text http://img525.imageshack.us/img525/4928/drawstringsample.jpg in that same app, i'm rendering text using a JTextPane . here is a sample: alt text http://img28.imageshack.us/img28/1134/jtextpanesample.jpg can you notice how the lower sample is a little 'smudged'? well, i can't figure out how to make it look like the upper sample. thanks, asaf :-) update: System.setProperty("awt.useSystemAAFontSettings","false") and "lcd" too aren't working. ((Graphics2D)g).setRenderingHint