public synchronized void renderDataForProjection(Projection proj,java.awt.Graphics g){
  fireStatusUpdate(LayerStatusEvent.FINISH_WORKING);
  if (proj == null) {
    logger.info("null projection!");
    return;
  }
 else {
    setTargetIndex(proj.getScale());
    Layer layer=getAppropriateLayer();
    layer.renderDataForProjection(proj,g);
  }
}

public synchronized void renderDataForProjection ( Projection proj , java . awt . Graphics g ) { fireStatusUpdate ( LayerStatusEvent . FINISH_WORKING ) ; if ( proj == null ) { logger . info ( "null projection!" ) ; return ; } else { setTargetIndex ( proj . getScale ( ) ) ; Layer layer = getAppropriateLayer ( ) ; layer . renderDataForProjection ( proj , g ) ; } }
implementing the projectionpainter interface .
