protected void fireProjectionChanged(){
  Projection proj=getRotatedProjection();
  if (logger.isLoggable(Level.FINE)) {
    logger.fine("MapBean firing projection: " + proj);
  }
  try {
    firePropertyChange(ProjectionProperty,null,proj);
  }
 catch (  ProjectionChangeVetoException pcve) {
    firePropertyChange(ProjectionVetoedProperty,proj,pcve);
    pcve.updateWithParameters(this);
    return;
  }
  for (  Component c : getComponents()) {
    Layer l=(Layer)c;
    if (l != null) {
      l.setReadyToPaint(false);
    }
  }
  projectionSupport.fireProjectionChanged(proj);
  purgeAndNotifyRemovedLayers();
}

protected void fireProjectionChanged ( ) { Projection proj = getRotatedProjection ( ) ; if ( logger . isLoggable ( Level . FINE ) ) { logger . fine ( "MapBean firing projection: " + proj ) ; } try { firePropertyChange ( ProjectionProperty , null , proj ) ; } catch ( ProjectionChangeVetoException pcve ) { firePropertyChange ( ProjectionVetoedProperty , proj , pcve ) ; pcve . updateWithParameters ( this ) ; return ; } for ( Component c : getComponents ( ) ) { Layer l = ( Layer ) c ; if ( l != null ) { l . setReadyToPaint ( false ) ; } } projectionSupport . fireProjectionChanged ( proj ) ; purgeAndNotifyRemovedLayers ( ) ; }
called from within the mapbean when its projection listeners need to know about a projection change .
