JDK-4812188 : XP L&F: background color of menubar is incorrect with XP desktop them
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.2,5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,windows_xp
  • CPU: generic,x86
  • Submitted: 2003-02-03
  • Updated: 2003-06-06
  • Resolved: 2003-05-12
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.
1.4.2 b23Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
###@###.### 2003-02-03

J2SE Version (please include all output from java -version flag):
  java version "1.4.2-beta"
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b14)
  Java HotSpot(TM) Client VM (build 1.4.2-beta-b14, mixed mode)

Does this problem occur on J2SE 1.3 or 1.4?  Yes / No (pick one)

Operating System Configuration Information (be specific):
  Windows XP Professional. Windows XP default desktop theme.
  it works fine with Win2K-style desktop theme.

Hardware Configuration Information (be specific):
  Athlon 1200MHz, 512MB RAM, Geforce 2MX graphics adapter

Bug Description:
  The background color of the menubar of Swing applications is incorrect
  if the default Windows XP desktop theme is used. The color of the
  menubar is set to the menu background color but it should be set to the
  general background color which is different.

Steps to Reproduce (be specific):

  Run SwingSet2 on a machine with Windows XP and the default Windows XP
  desktop theme, switch to Windows LaF and compare the menubar background
  color of SwingSet2 with that of native Windows applications.
  Also attach the screenshot.gif file.

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis-rc tiger FIXED IN: mantis-rc tiger INTEGRATED IN: mantis-b23 mantis-rc tiger tiger-b09

EVALUATION This was fixed for AWT (see bugs 4551985 and 4781104) but the desktop properties were not updated. ###@###.### 2003-02-27 Fixing the menubar background also meant having to fix the toplevel menu background as well as rollover effects (see bug 4821961). ###@###.### 2003-02-27