I'm having issues with the anti-aliasing of text in Java 6.  Depending on the 
order in which I instantiate Swing components, change look and feel (to 
getSystemLookAndFeelClassName, in this case WindowsLookAndFeel), what have you, 
I'm getting either aliased (bad) or anti-aliased (good) text in my menus, 
buttons, etc.

I'm still sorting through some of the order, but I'd appreciate if anyone had 
pointers on how to look.  Key findings so far:

1.  It's sufficient to get anti-aliased text to put
[code]
  Toolkit.getDefaultToolkit().getDesktopProperty("awt.font.desktophints");
[/code]
before any other code.  It's also sufficient to instantiate a JFrame before 
setting the Windows look and feel.

2.  When the anti-aliased text is shown correctly, the system's UIDefaults 
contains an AATextInfoPropertyKey entry.  When it's not shown, it doesn't.

Thanks much for any leads,
Michael
[Message sent by forum member 'kazoobrewer' (kazoobrewer)]

http://forums.java.net/jive/thread.jspa?messageID=317105

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to