?
Solved

JMenu hidden behind canvas3D

Posted on 2003-12-01
4
Medium Priority
?
279 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 1000 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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses
Course of the Month10 days, 2 hours left to enroll

762 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