How to remove a components from the container by using vaadin7?

Hi All
Iam new to learn vaadin7. please let me know How to remove a components from the container by using vaadin7?

If by container you mean layouts, there are layout.removeComponent(Component component) methods in (as far as i know) every Layout class