-
Bug
-
Resolution: Fixed
-
P4
-
6
-
b84
-
x86
-
windows_xp
The text on JButtons when running the Windows XP Look and Feel are not drawn correctly with certain themes. These include themes which use a non-default color for the text, change the color of the text when the button is pressed, or which have drop shadowed text. The button text drawing code is not respecting any of the colors from the theme and are dropping back to the standard system colors.
Additionally, buttons on the standard XP theme draw the buttons shifted a pixel down and to the right when the user clicks on them. This is classic behavior but not with the XP Standard theme. XP uses rollovers and color change to indicate when a button has been pressed rather than shifting the text.
The attached images show the difference between a Swing button and a native one.
Additionally, buttons on the standard XP theme draw the buttons shifted a pixel down and to the right when the user clicks on them. This is classic behavior but not with the XP Standard theme. XP uses rollovers and color change to indicate when a button has been pressed rather than shifting the text.
The attached images show the difference between a Swing button and a native one.
- relates to
-
JDK-6463915 REGRESSION: JRadioButton and JCheckBox have wrong disabled foreground under WinXP Look&Feel
- Resolved