File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
Swing / AWT / SWT
JMenu Menu hiding behind JPanel
Joined: Apr 11, 2004
Jan 10, 2005 12:58:00
I have a very strange problem that I never saw before. I have a
. As the content pane, I have a
that contains a GUI generated by code written using JNI.
When I click on the
, the drop down menu hides behind the
so nobody can see the menu.
However, if I use just a blank
, I can see the drop down menu.
How can you fix this?
Joined: Sep 29, 2004
Jan 10, 2005 15:02:00
Sounds like you need to make it a heavyweight object.
Put something like this in your panel code:
setLightWeightPopupEnabled( false );
I agree. Here's the link:
subject: JMenu Menu hiding behind JPanel
OK...another one that is way out there...
IMPOTANT: Drop down Menu disappears partially behind system tray in windows
Html drop down menu and applet issues
Creating one class from another
Drop down menu
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014