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 menu bars and frames? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "menu bars and frames?" Watch "menu bars and frames?" New topic

menu bars and frames?

preeti dengri
Ranch Hand

Joined: Nov 30, 2000
Posts: 111
hi all,
the ques is from Jxam mock
only frames can contain menu bars or pull down menus???true or false
and what about pop up menus???
need some help on this matter
Nandini Gangopadhyay
Ranch Hand

Joined: Apr 02, 2001
Posts: 79
Hi Preeti,
Only Frames can contain MenuBars, this is for PopupMenus, there is a add(PopupMenu p) method in Component class, so PopupMenus can be added to all components, this method is inherited by all components(Button, CheckBox etc) and containers. Correct me if I am wrong.
I agree. Here's the link:
subject: menu bars and frames?
It's not a secret anymore!