question: 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 ) ; } }
target:  Implementing the ProjectionPainter interface.