permaculture playing cards
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Pls Help :Container Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Pls Help :Container Problem" Watch "Pls Help :Container Problem" New topic

Pls Help :Container Problem

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
i have a Question about container:
Applet,panel can add to a container
How come menu item can't add to the container?
i'm not sure container and component can add to container or not?

pls explan thx. =)

Janet Yap

Joined: Mar 13, 2004
Posts: 24
I think you have to go through heriarchy of components. Menu is a part of MenuComponent class, which is differnt from component class(means container which is a sub class of component).
So menu and it's related things is different from component except pop-up menu which is added to window.
If i'm wrong please correct me.
I agree. Here's the link:
subject: Pls Help :Container Problem
It's not a secret anymore!