| Author |
Menu is getting hidden behind the applet
|
Ashish Nandan
Greenhorn
Joined: Jun 03, 2009
Posts: 22
|
|
Hi Guys,
I have a problem. I have an applet loaded over a container panel. Now when i try to access menu, it gets hidden behind applet.
Any idea how to solve this problem?
|
Regards,
Ashish Nandan
|
 |
Rob Camick
Ranch Hand
Joined: Jun 13, 2009
Posts: 1788
|
|
|
Sounds like you are using AWT components in a Swing application. Don't, this will cause problems. Swing components start with "J"
|
 |
Ashish Nandan
Greenhorn
Joined: Jun 03, 2009
Posts: 22
|
|
|
I am using JApplet. But still menu is getting hidden behind the JApplet.
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
Ashish Nandan wrote:I am using JApplet.
And the other components? Like this "container panel" you mentioned? Don't use any AWT components.
|
 |
Ashish Nandan
Greenhorn
Joined: Jun 03, 2009
Posts: 22
|
|
|
emulator is a JApplet, and container panel is a JPanel....
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8439
|
|
Why are you putting the applet in a panel? It should be treated as a top level container.
Try adding the applet directly to your page.
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
 |
|
|
subject: Menu is getting hidden behind the applet
|
|
|