Iterator<JComponent> () { JComponent component = getPermanentHeaderComponent(); if (component != null && !component.isValid()) { return Collections.singleton(component).iterator(); } return ContainerUtil.emptyIterator(); }