setGraphicsForFill(gr); geometry.fill(gr); setGraphicsForEdge(gr); geometry.draw(gr);
renderGeometry(geometry, gr);
    public synchronized void render(Graphics gr) {	Shape shp = getShape();	if (shp != null) { 	    setGraphicsForFill(gr);	    ((Graphics2D)gr).fill(shp);	    setGraphicsForEdge(gr);	    ((Graphics2D)gr).draw(shp);	} else {	    ListIterator iterator;	    java.util.List targets = getTargets();	    OMGeometry geometry;	    if (traverseMode == FIRST_ADDED_ON_TOP) {		iterator = targets.listIterator(targets.size());		while (iterator.hasPrevious()) {		    geometry = (OMGeometry) iterator.previous();					    if (geometry.isVisible()) {			setGraphicsForFill(gr);			geometry.fill(gr);			setGraphicsForEdge(gr);			geometry.draw(gr);		    }		}	    } else {		iterator = targets.listIterator();		while (iterator.hasNext()) {		    geometry = (OMGeometry) iterator.next();		    		    if (geometry.isVisible()) {			setGraphicsForFill(gr);			geometry.fill(gr);			setGraphicsForEdge(gr);			geometry.draw(gr);		    }		}	    }	}    }