JDK-4862679 : XP L&F: JTabbedPane selected tab background color is wrong
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.2
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2003-05-12
  • Updated: 2003-07-11
  • Resolved: 2003-07-11
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.
Other
5.0 tigerFixed
Related Reports
Relates :  
Description

Name: jk109818			Date: 05/12/2003


FULL PRODUCT VERSION :
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b19)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b19, mixed mode)

FULL OS VERSION :
Microsoft Windows XP [Version 5.1.2600]

A DESCRIPTION OF THE PROBLEM :
JTabbedPane background color is wrong for Windows XP L&F.  The selected tab on winXP should have a lighter background color than the normal window background.  This color should match the light color that is used to highlight the currently seleted tab.

The XP L&F uses the normal window background color, not the 'active tab' background color.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Any application with standard JTabbedPanes shows the bug.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Expected a different background color for the selected tab.

REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 185457) 
======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b11
14-06-2004

EVALUATION XP styles use a "tab.pane" category which provides for a background image. We need to pick this up. ###@###.### 2003-05-12 Also added UI property TabbedPane.tabsOverlapBorder to allow tabs topainted on top of the content area border (actually an image for XP). ###@###.### 2003-06-25
12-05-2003