A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Joined: Feb 20, 2000
Mar 09, 2000 23:21:00
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........
Joined: Jan 30, 2000
Mar 10, 2000 13:12:00
Also, MenuBar is NOT a Component, which can be added (with few exceptions) to Containers.
Senior Java Web Application Developer, SCPJ2, SCWCD
I agree. Here's the link:
Menubar in applet possible?
Components vs Container (and Menu)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014