what u mean container class documentation
Every single variable you call that isn't a primitive type (that is an object since all classes are extended off object, hence object-oriented) is a class.
You wrote Container c = bla bla.
Search java class container. Look at java's documentation, it explains all of the class' methods and variables, etc. There's something about setting the layout and if you actually tried to look at the various tutorials available at sun's website you'd have noticed a whole lot about layouts. Layouts allow you to place different objects, usually labels or frames at different "positions" if you will. You can order them horizontally, vertically, any combination you can think of and you can add spaces, etc.
I have a feeling to show more then one object you may need to have a layout (I know that in QT, a GUI-aiding library for C++, this was true).
Please attempt to figure out how this works using the tutorials and truly understand them before you give up and simply post your code here again.
Thank you, and good luck,
-blazed