public void renderDataForProjection(Projection proj,Graphics g){
  if (isProjectionOK(proj)) {
    paint(g);
  }
}

public void renderDataForProjection ( Projection proj , Graphics g ) { if ( isProjectionOK ( proj ) ) { paint ( g ) ; } }
this method is here to provide a default action for layers as they act as a projectionpainter . normally , projectionpainters are expected to receive the projection , gather / create omgraphics that apply to the projection , and render them into the graphics provided . this is supposed to be done in the same thread that calls this function , so the caller knows that when this method returns , everything that the projectionpainter needed to do is complete . < p > if the layer doesn ' t override this method , then the paint ( graphics ) method will be called .
