This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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!