Solved

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

Posted on 2006-11-28
5
533 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
[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
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 Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java exception bubble up 2 24
throw exception 21 69
ejb example issues 3 55
ejb entity bean example 2 38
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…
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 theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

726 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