public void invalidate(Component comp) {
		comp.invalidate();
		comp.repaint();
		if (comp instanceof Container) {
			for (Component child : ((Container) comp).getComponents()) {
				invalidate(child);
			}
		}
	}