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 for details on how you nest Containers like this to create useful layouts.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact