Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-11-28
5
Medium Priority
?
564 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 1000 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 1000 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

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

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

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…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
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…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

971 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