Iterator it = iterator(); while (it.hasNext()) { ((OMGeometry) it.next()).setVisible(visible);
synchronized (graphics) { Iterator it = iterator(); while (it.hasNext()) { ((OMGeometry) it.next()).setVisible(visible); }
    public void setVisible(boolean visible) {	Iterator it = iterator();	while (it.hasNext()) {	    ((OMGeometry) it.next()).setVisible(visible);	}    }