public void projectionChanged(ProjectionEvent e){
  Projection newProj=e.getProjection();
  if (!projection.equals(newProj)) {
    setProjection(newProj);
  }
}

public void projectionChanged ( ProjectionEvent e ) { Projection newProj = e . getProjection ( ) ; if ( ! projection . equals ( newProj ) ) { setProjection ( newProj ) ; } }
projectionlistener interface method . should not be called directly .
