JDK-6405056 : Different background color on WinXP L&F for particular components
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-03-28
  • Updated: 2010-04-02
  • Resolved: 2006-06-14
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 7
7Resolved
Related Reports
Duplicate :  
Relates :  
Description
See attached screenshots, they show how application looks when running with native look and feel (Windows XP L&F) on Windows XP. Attached is also the application, you can run it by 'java -cp dist/JDKTestApp.jar jdktestapp.TestFrame[1,2]'. 

L&F was set by call UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()) while application was running on Windows XP with "Windows XP Style". 

Setting different color Scheme for windows resulted in little bit different colors but results were still there. Screenshots are taken with color scheme Silver.

This bug is not visible when running on different L&Fs.

Comments
EVALUATION The fix for 6418117 fixes this bug, but it may just be hiding it. The correct solution depends on the larger issue described in 6434931.
14-06-2006

EVALUATION Added reference to bug 6434931 which addresses the larger opacity/bgcolor issue. Once solved it should allow this bug to be fixed.
06-06-2006

EVALUATION Looking over the screenshots it appears that the error is with the background of the toolbar not being the correct color. Strangely, in some native apps the toolbar is supposed to be a different color. More research is required.
29-03-2006