Solved

JMenu hidden behind canvas3D

Posted on 2003-12-01
4
277 Views
Last Modified: 2006-11-17
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
Comment
Question by:MattHatton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 92

Expert Comment

by:objects
ID: 9856354
SOunds like a problem mixing heavyweight and lightweight components.
0
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 9856362
try forcing a heavyweight menu:

JPopupMenu.setDefaultLightWeightPopupEnabled(false);

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question