JDK-5054475 : JMenu has no shadow in win L&F
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-05-28
  • Updated: 2004-05-28
  • Resolved: 2004-05-28
Related Reports
Duplicate :  
Description

Name: js151677			Date: 05/28/2004


FULL PRODUCT VERSION :
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-
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 :
JMenu has no shadow on XP (not sure about other versions of windows).
Native Windows menus  have a shadow that appears to the right and bottom of it.  Swing menus using winXP L&F don't have a shadow and as a result look flat.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Open swingSet
Switch to WinL&F
Drop down a menu

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Menu appears with a shadow.
ACTUAL -
Menu appears without a shadow

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
Use SwingSet2 aplication from the Java Web Start.
---------- END SOURCE ----------
(Incident Review ID: 275407) 
======================================================================