• Post Reply Bookmark Topic Watch Topic
  • New Topic

smoothing fonts

 
Jewel Bocks
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i smooth my fonts in my JComboBox
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you're referring to antialising. It's typically an all-or-none phenomena. In versions 1.4 and 1.5 you can turn it on with the system property swing.aatext:

$java -Dswing.aatext=true MyProgram

So from within your program you can play with System.get/setProperty to change the "default" to true:
I've read in this thread that this unsupported feature seems to have gone away in Mustang. There you should turn on antialiasing in your desktop settings.
 
David Weitzman
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch, Jewel Bocks. Please revise your name to meet the guidelines in the JavaRanch naming policy. Specifically, the policy does not permit obviously fictitious names.

Thanks for your attention to this matter,

- David
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!