• Post Reply Bookmark Topic Watch Topic
  • New Topic

Adding a menu to a JApplet  RSS feed

 
Richard Mackney
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to do this for an assignment, when I add it and then put panels into the JApplet the menu when clicked puts the JMenuItems behind the panels, so they are not visible and cannot be selected!!
Help!!!
Thanks a lot.
Richard
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like you are mixing AWT and Swing components... change the Panels to JPanels and everything should work correctly...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!