Solved

JMenuItem Disappears behind JPanel that is directly below the main menu in my Swing GUI

Posted on 2006-11-28
5
524 Views
Last Modified: 2013-11-23
I have a Swing GUI application using Swing Menus.  When I click on the main menu bar the menu items on the bottom disappear behind the JPanel that is directly below?  How do I fix this?

Thanks,
Dave
0
Comment
Question by:gdkinney_2
5 Comments
 
LVL 9

Expert Comment

by:matthew016
ID: 18029749
Can u post some code ?
0
 
LVL 2

Accepted Solution

by:
saintsairforce earned 250 total points
ID: 18029909
If the drop down menu going behind the JPanel or the info on the JPanel turning gray where the drop down menu opened? If it's the first one we will need to see some code. If it iis the second one all you have to do is refresh the JPanel via repaint or reintialize.

Cheers,
Ricky
0
 
LVL 14

Assisted Solution

by:hoomanv
hoomanv earned 250 total points
ID: 18031457
I've mentioned in your other Q that the problem is inconsistency between AWT and SWING components
http://java.sun.com/products/jfc/tsc/articles/mixing/
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
allStar challenge 1 41
countAbc challenge 9 49
groovy example issue 10 67
How search webpage "viewable text" only 1 28
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

758 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

21 Experts available now in Live!

Get 1:1 Help Now