Solved

JMenu hidden behind canvas3D

Posted on 2003-12-01
4
273 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
get weblogic logged in user in java 2 58
Error with Java/Cache JDBC Classpath 2 30
VB Script to add site to Java Exception List 4 49
ForLoop Example 3 40
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now