A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Sep 23, 2005
Oct 03, 2006 22:49:00
I have a frame with a menubar at the top and a Panel at the bottom. I notice when I drop down my menu, the menu is blocked by my Panel. How can I make my menu show in front of the panel instead? Thank in advance
Paul Santa Maria
Joined: Feb 24, 2004
Oct 03, 2006 23:31:00
Are you using a "Panel" (as in AWT), or a "JPanel" (as in Swing)?
If the former, then try substituting a "JPanel" and see if that helps.
Here's a link with some more info:
Paul M. Santa Maria, SCJP
Joined: Feb 20, 2006
Oct 03, 2006 23:33:00
Did you add the menu bar to the frame (using add()) or did you use setJMenuBar()?
It is sorta covered in the
JavaRanch Style Guide
subject: Java Menu
link from swing page to swing page
menubar with applet
Programmatically expand or collapse t:panelNavigation2
Help Displaying on panel!!!!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013