JDK-6356325 : PIT:Foreground is not affecting to the components once change the window appearance in classic theme
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2005-11-29
  • Updated: 2010-04-02
  • Resolved: 2006-03-08
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.
JDK 6
6Resolved
Related Reports
Duplicate :  
Description
Bug Info:
=========
Foreground is not affecting to the components once change the window appearance in winxp classic theme.

The same behavior in all the flavors of windows(2000,2003 etc).


JDK Info:
========
java version "1.6.0-swing_int_jcg_win_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-swing_int_jcg_win_03-java2d_23_Nov_2005_09_00-b00)
Java HotSpot(TM) Client VM (build 1.6.0-rc-b61, mixed mode)

Steps to Reproduce:
===================
1. Open Display properties dialog window.
2. Select the winxp classic theme.
3. Select the Appearance tab in the dialog and click on advanced button.
4. Select "Window" in Item comobox and change the foreground (red color) and background (black color).
5.Launch the file chooser demo.

Scenarios:
==========
1. Choose the winxp classic look and feel in drop down.
2. Open some message dialog.

Expected result:
================
The open dialog text should be in red color.

Actual results:
===============
red color is not affecting.

3. Check the checkbox.

Expected result:
================
The tick mark should be re color.

Actual result:
==============
The tick mark is black 

Same way for radio buttons and other components also.


Please check the attached images between java and native images with winxp classic look and feel.

Comments
EVALUATION I am not able to completely reproduce the bug. On my computer when I modify the color scheme as specified in Swing the tick marks are black on red as they are in native applications (Wordpad). However, I believe the issue with the labels changing colors is valid and will be fixed by 4863860.
08-03-2006

EVALUATION Yep, I see the problem. In the classic theme, our labels should be using the window foreground color.
30-11-2005