JDK-7028671 : JPopupMenu.setLightWeightPopupEnabled doesn't work
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Not an Issue
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2011-03-17
  • Updated: 2011-03-22
  • Resolved: 2011-03-22
Related Reports
Relates :  
Description
See CR 7027486. The issue is that JPopupMenu is clipped with its parent JFrame's shape. Invoking JPopupMenu.setLightWeightPopupEnabled(false) seems to be a possible workaround. However, it doesn't work. As well as JPopupMenu.setDefaultLightWeightPopupEnabled(false).

Comments
EVALUATION JPopupMenu.setLightWeightPopupEnabled works as expected When it is disabled and a popup fits the window's bounds the medium weight popups are in use, they are affected by the window's shape exactly how the lightweight popups do. Closed as not a bug.
22-03-2011