when using JPopupMenu.setDefaultLightWeightPopupEnabled(false) and JdicPlus together in one application all the menus seem to be corrupt. They are only (partial) rendered at mouseover.
If you are using heavyweight menus, please, switch to the "native heavyweight" paint mode by call
I had the same problem but setting the BrComponent... did not solve the problem.
I try the example demo BrowserFrame, where i set the menus to
private void initComponents()
/////// here I added //////
////// here I added //////
before calling pack() in the function initComponents.
The menus are hw but not rendered correctly.
Os: Windows XP Pro
this way i now force the popups to be heavyweight alltimes:
public Popup getPopup(final Component owner, final Component contents, final int x, final int y)
return new Popup(owner, contents, x, y)
This seems to affect only mediumweight popups.
How can i force the PopupFactory to create heavyweight popups all the time?
Message was edited by: jensbruhn
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.