private void removeAllComponentsInContainer(Container container){
	for (Component component : container.getComponents()) {
		if(component instanceof Container){
			Container childContainer = (Container) component;
			removeAllComponents(childContainer);
			//System.out.println("removed all components on:" + childContainer.getClass());
		}
	}
}