We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Dear Community,
I am using a Processing Sketch (realized by an extension of PApplet) within a Java JFrame. It is embeeded within a JPanel. When I try to show a PopupMenu, which overlaps with the sketch, the menu is always drawn behind the sketch.
My guess would be that it might have to do with the z-order of the component. Can anyone help me?
THX
Answers
Setting
JPopupMenu.setDefaultLightWeightPopupEnabled(false);
solved the problem. :)