This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Which AWT component can contain a meu bar Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "Which AWT component can contain a meu bar" Watch "Which AWT component can contain a meu bar" New topic
Author

Which AWT component can contain a meu bar

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi
According to RHE page 341 ,Q # 8, only frame can contain a menu bar..According to Exam Cram page 229, Q # 2 Frame, window, Applet, panel all can contain a menu bar or a pop up menu ......which is correct??please explain.
Wali
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3219
OR is the operative keyword.
You can add a PopupMenu to any component:
public void [Component].add(PopupMenu popup)
Adds the specified popup menu to the component.


Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Thanks Tony,I got it
Wali
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Which AWT component can contain a meu bar
 
Similar Threads
about Menu
MenuBar
Menu Bar
Is Exam Cram correct or RHE correct?
Mock exams