List<UIComponent> toRemove = new ArrayList<UIComponent>();
for (UIComponent c : componentsToRemove) {
components.remove(c);
toRemove.add(c);
if (c instanceof Bindable) {
Bindable b = (Bindable) c;
getRootPane().removeChild(b.getBindable());
}
}
components.removeAll(toRemove);
}