Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4907679
Votes 0
Synopsis XP L&F: Menu appearance does not conform to native XP look with icons
Category java:classes_swing
Reported Against 1.4.2
Release Fixed
State 11-Closed, duplicate of 4199382, bug
Priority: 4-Low
Related Bugs 4199382
Submit Date 15-AUG-2003
Description




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 :
 customer  Windows XP [Version 5.1.2600]

A DESCRIPTION OF THE PROBLEM :
I am experimenting with the XP L&F under WinXP. I encountered this:

a) The text of a menu item is somewhat indented (i.e. doesn't start directly at the left border) but under native XP the indention is smaller.

b) The space between the left border and the beginning of the text is always there and is _not_ used for i.e. check marks or other glyphs. So if one is using a menu with simple text items together with some items with icons, it's getting really unpleasant to look at.


STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Creating any simple menu where some items have an icon and others have not should do.


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
(the @ shall represent an icon, for example the "scissors" in a "Edit" Menu):

The layout of the menu should like native XP:

Testmenu
----------
   Yadda
 @ Foo
   Bar
   Etc


ACTUAL -
But you get a menu where the menu items are somewhat weired aligned.

Testmenu
----------
 Yadda
 @ Foo
 Bar
 Etc

 

REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 188642) 
======================================================================
Work Around
N/A
Evaluation
Should fix when possible.
  xxxxx@xxxxx   2003-09-26
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang