jQuery in Action, 2nd edition*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
subject: Pls Help :Container Problem
Similar Threads
StateFul ejbCreate
How to Add Scroll bars to a frame
Border Layout
why a window can not add to a container?
Relativ urls - mistake in HFS (page 136)