From: Peter Graves <peter@ar...> - 2003-03-11 02:11:04
> turning on the antialias preference helps -- the text buffer is =
> antialiased, but menus, and text boxes are still unsmoothed.
Swing is doing all the work for menus and text boxes.
Causes graphic primitives like line, arc, rectangle, and so on
to be painted with antialiasing. By default text will also take
this setting, though you can override that using
apple.awt.textantialiasing. Even with this flag set to true
from the command line, you may still set the KEY_ANTIALISING
rendering hints for specific objects.
Although this is false by default, it is set to true when you
use the Aqua look and feel. This makes the behavior more
consistent with the native Mac OS X user interface. Note that
even if you set this to false for an application that uses the
Aqua look and feel, Aqua user interface elements themselves
will still be drawn with antialiasing. =
It seems like this is saying that if you're using the Aqua look and
feel, user interface elements will be drawn with antialiasing by
So you might try adding this line to ~/.j/prefs:
lookAndFeel =3D Aqua
The code behind this is in setLookAndFeel() in DefaultLookAndFeel.java.
From: Peter Graves <peter@ar...> - 2003-03-11 03:40:04
> That fixed it, although the effect is a little jarring.
I guess mileage may vary, but do you think it would make sense to turn
on the Aqua look and feel by default if Mac OS X is detected?
> Also, it seems that you no longer need to disable hardware
> Thanks for your help. You may want to update the docs to reflect
> these issues.
I will do so.
Get latest updates about Open Source Projects, Conferences and News.