JDK-5011201 : Win L&F: JMenuBar the wrong color using Classic Theme under XP
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-03-10
  • Updated: 2004-03-27
  • Resolved: 2004-03-27
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 b45Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description

Name: gm110360			Date: 03/10/2004


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

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]

A DESCRIPTION OF THE PROBLEM :
Swing menubar appears beige instead of gray, using the Windows Classic theme

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Switch to Windows Classic theme.
Run a swing app with a menubar using the Windows L&F

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
  To see the menubar a gray color
ACTUAL -
The menubar was a beige color.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
run any swing app like the SwingSet2 demo.
---------- END SOURCE ----------
(Incident Review ID: 242838) 
======================================================================

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

EVALUATION The COLOR_MENUBAR desktop property is used when running on XP. It should however only be used when XP themes are enabled. This was fixed for AWT with bug 4781104 and needs to be fixed for Swing as well. ###@###.### 2004-03-15
15-03-2004