JDK-6391267 : System property "swing.aatext" is ignored in 1.6beta2 for linux
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P5
  • Status: Closed
  • Resolution: Not an Issue
  • OS: linux,windows_2000
  • CPU: x86
  • Submitted: 2006-02-27
  • Updated: 2011-02-16
  • Resolved: 2006-02-28
Description
FULL PRODUCT VERSION :
java version "1.6.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-beta2-b72)
Java HotSpot(TM) Client VM (build 1.6.0-beta2-b72, mixed mode, sharing)


ADDITIONAL OS VERSION INFORMATION :
Linux lazarus 2.6.14-kanotix-9 #1 PREEMPT Wed Dec 28 10:17:53 CET 2005 i686 GNU/Linux

A DESCRIPTION OF THE PROBLEM :
If I set the system property "swing.aatext" before running a program, it makes swing components use antialiasing for their text in java 1.5, but it does not seem to do anything in java 1.6 beta2.

The screenshots for jedit using java 1.6 and 1.5 are attached. The central window has antialiasing on for both versions, as you can see. That is because it is not a swing component and we had to turn it on directly.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run jedit (or another swing app) wtih -Dswing.aatext=true in the command line and you'll see that the swing text is not antialiased.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
swing text should be antialiased.

REPRODUCIBILITY :
This bug can be reproduced always.

Comments
EVALUATION swing.aatext was never documented and never a public property. It was an interim property strictly for testing. It was removed in favor of the desktop properties support that is documented in AWT for 1.6.
28-02-2006