United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4812188 : XP L&F: background color of menubar is incorrect with XP desktop them

Details
Type:
Bug
Submit Date:
2003-02-03
Status:
Resolved
Updated Date:
2003-06-06
Project Name:
JDK
Resolved Date:
2003-05-12
Component:
client-libs
OS:
generic,windows_xp
Sub-Component:
javax.swing
CPU:
x86,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.2,5.0
Fixed Versions:
1.4.2 (b23)

Related Reports
Backport:
Duplicate:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
###@###.### 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)
  No.

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.


                                    

Comments
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


                                     
2004-06-14
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
                                     
2003-02-27



Hardware and Software, Engineered to Work Together