This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Applets and the fly likes Can i use Menu & Menu options in applet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Can i use Menu & Menu options in applet?" Watch "Can i use Menu & Menu options in applet?" New topic
Author

Can i use Menu & Menu options in applet?

Kunal Lakhani
Ranch Hand

Joined: Jun 05, 2010
Posts: 622
Can i use Menu & Menu options in an applet?


kunal
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

If you look at the API documentation for JApplet you'll notice that it has a method getJMenuBar(). It returns a JMenuBar. To me that suggests that a JApplet has a JMenuBar built into it, and that you could use it as a menu with options and all that.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can i use Menu & Menu options in applet?
 
Similar Threads
Communications API install problem
combo box
All components inherit menucontainer???
A question about adding a menu to a frame.
components extending beyond the area of the applet?