/** Removes all children of this container. */ public void removeAll() { for (int ii = getComponentCount() - 1; ii >= 0; ii--) { remove(getComponent(ii)); } }