Iterator it = iterator(); while (it.hasNext()) { ((OMGraphic)it.next()).setLinePaint(paint);
synchronized (graphics) { Iterator it = iterator(); while (it.hasNext()) { ((OMGraphic)it.next()).setLinePaint(paint); }
    public void setLinePaint(Paint paint) {	super.setLinePaint(paint);	Iterator it = iterator();	while (it.hasNext()) {	    ((OMGraphic)it.next()).setLinePaint(paint);	}    }