Solved

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

Posted on 2006-11-28
5
528 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
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…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

777 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