dcsimg

Using Java Layout Managers, can a Container be added to another Container?

Scott Stanchfield

But of course!

Container is a subclass of Component, and because any Component can be added to a Container, Containers can be added to other containers.

Please see http://developer.java.sun.com/developer/onlineTraining/GUI/AWTLayoutMgr for details on how you nest Containers like this to create useful layouts.