-
Bug
-
Resolution: Fixed
-
P4
-
6
-
b10
-
x86
-
windows_xp
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2146012 | 6u2 | Shannon Hickey | P3 | Resolved | Fixed | b01 |
FULL PRODUCT VERSION :
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
The column headers of a JTable correctly render in ClearType or regular fonts on Windows. However, if I change from ClearType to non-smoothed fonts or vice versa, the JTable headers do not change. (The JTable itself does change)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run SwingSet2 from the demo area
Click on the "JTable demo" button
Go to the Windows Control Panel, and double click the "Display" icon
Select the Appearance tab, and click on the "Effects..." button
Toggle the checkbox "Use the following method to smooth edges of screen fonts" to Off or to Clear Type
Click OK
Click the Apply button: this will update the JTable contents, but leaves the column headers unchanged
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Expectation is that both the JTable contents and headers will update
ACTUAL -
Only the JTable contents update
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Use the demo\jfc\SwingSet2 demo code
---------- END SOURCE ----------
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
The column headers of a JTable correctly render in ClearType or regular fonts on Windows. However, if I change from ClearType to non-smoothed fonts or vice versa, the JTable headers do not change. (The JTable itself does change)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run SwingSet2 from the demo area
Click on the "JTable demo" button
Go to the Windows Control Panel, and double click the "Display" icon
Select the Appearance tab, and click on the "Effects..." button
Toggle the checkbox "Use the following method to smooth edges of screen fonts" to Off or to Clear Type
Click OK
Click the Apply button: this will update the JTable contents, but leaves the column headers unchanged
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Expectation is that both the JTable contents and headers will update
ACTUAL -
Only the JTable contents update
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Use the demo\jfc\SwingSet2 demo code
---------- END SOURCE ----------
- backported by
-
JDK-2146012 JTable column headers do not follow Windows ClearType (antialias) changes
-
- Resolved
-
- relates to
-
JDK-6364555 Some SwingSet2 components do not dynamically update font antialiasing.
-
- Resolved
-