• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

JMenu hidden behind canvas3D

i have some code to produce a application extending JFrame that displays 3D models, however my JMenu's are hidden behind the canvas3D. Once clicked, only a portion of the menu can be seen as the canvas is slightly offset, due to a slider bar on the left hand side.

How can i make the JMenu's be displayed in front of the canvas?
0
MattHatton
Asked:
MattHatton
  • 2
1 Solution
 
objectsCommented:
SOunds like a problem mixing heavyweight and lightweight components.
0
 
objectsCommented:
try forcing a heavyweight menu:

JPopupMenu.setDefaultLightWeightPopupEnabled(false);

0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now