Duplicate :
|
Name: jl125535 Date: 09/13/2004 FULL PRODUCT VERSION : java version "1.5.0-rc" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-rc-b63) Java HotSpot(TM) Client VM (build 1.5.0-rc-b63, mixed mode, sharing) ADDITIONAL OS VERSION INFORMATION : Microsoft Windows XP [Version 5.1.2600] A DESCRIPTION OF THE PROBLEM : In native applications, there is a gap of two pixels between the (right/left) edge of the menu and the (right/left) edge of the highlight drawn behind the text. In Swing applications, the highlight extends all of the way to the edge of the background. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. Run the SwingSet2 demo. 2. Switch to the Windows look and file. 3. Open a menu and mouse-over one of its items 4. Observe the highlight EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - There is a 2px gap between the edge of the menu and the highlight ACTUAL - There is no gap REPRODUCIBILITY : This bug can be reproduced always. (Incident Review ID: 310598) ======================================================================