  thank you guys for your posts. but stile i didnt sort out my problem i dont want to use the layouts. i wanted to set the layout to null and i want to place the component (JButtons, JLabels) where i wants  thank you guys for your posts. but stile i didnt sort out my problem i dont want to use the layouts. i wanted to set the layout to null and i want to place the component (JButtons, JLabels) where i wants  Well good luck with that then. But I do have to wonder why you are asking for our help if you choose to ignore it. You want to add components to the top of a container, and the best way, the easiest way to do this is by using appropriate layout managers.  Well good luck with that then. But I do have to wonder why you are asking for our help if you choose to ignore it. You want to add components to the top of a container, and the best way, the easiest way to do this is by using appropriate layout managers.  