Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

JMenu hidden behind canvas3D

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

Technology Partners: 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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

618 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