JDK-5030990 : Swing's GTK look and feel should use AA text if enabled on the desktop
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux_redhat_9.0
  • CPU: x86
  • Submitted: 2004-04-13
  • Updated: 2004-04-24
  • Resolved: 2004-04-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
5.0 b49Fixed
Related Reports
Relates :  
Synopsis says it all

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta2 FIXED IN: tiger-beta2 INTEGRATED IN: tiger-b49 tiger-beta2

EVALUATION The fix will be to add a client property (SwingUtilities2.AA_TEXT_PROPERTY_KEY) to JComponent, if this client property is set all text drawn for this component will be anti aliased. GTK will install this by way of GTKStyle.installDefaults which is called every time a UI is installed, or the style changes. GTKLookAndFeel will lookup the property from the desktop property: gnome.Xft/Antialias, which is an Integer value with 1 indicating aa is on. A handful of text classes needed to be changed to pass around the component so that the AA property could be correctly looked up. ###@###.### 2004-04-13