Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Menu is getting hidden behind the applet

 
Ashish Nandan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Rob Camick
Ranch Hand
Posts: 2541
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JApplet. But still menu is getting hidden behind the JApplet.
 
Paul Clapham
Sheriff
Pie
Posts: 20758
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
emulator is a JApplet, and container panel is a JPanel....
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic