This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Menu is getting hidden behind the applet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Menu is getting hidden behind the applet" Watch "Menu is getting hidden behind the applet" New topic
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
    
    2
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
    
    2

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!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Menu is getting hidden behind the applet
 
Similar Threads
Drop Down Menu Problem
Applets and overlapping menu items
complex gui in web browser
Html drop down menu and applet issues
Applets and overlapping menus in web browsers