File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Menubar.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Menubar.." Watch "Menubar.." New topic



Joined: Feb 20, 2000
Posts: 23
hey I got another way to answer
Menubar can only be added to Frames question
True its only Frames because setMenuBar(menubar) method is only defined in frames classs........
Tony Alicea

Joined: Jan 30, 2000
Posts: 3222
Very good
Also, MenuBar is NOT a Component, which can be added (with few exceptions) to Containers.

Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
wood burning stoves
subject: Menubar..