public void propertyChange(PropertyChangeEvent evt){
  String propName=evt.getPropertyName();
  if (propName == MapBean.CursorProperty) {
    fallbackMapBeanCursor=((Cursor)evt.getNewValue());
  }
 else {
    if (propName == MouseDelegator.ActiveModeProperty) {
      MapMouseMode mmm=(MapMouseMode)evt.getNewValue();
      setResetCursor(mmm.getModeCursor());
    }
 else     if (propName == MapBean.LayersProperty) {
      resetForLayers((Layer[])evt.getNewValue(),(Layer[])evt.getOldValue());
    }
 else     if (propName != MapBean.ProjectionProperty) {
      return;
    }
    setAllLabels(fudgeString);
  }
  initToolTip();
}

public void propertyChange ( PropertyChangeEvent evt ) { String propName = evt . getPropertyName ( ) ; if ( propName == MapBean . CursorProperty ) { fallbackMapBeanCursor = ( ( Cursor ) evt . getNewValue ( ) ) ; } else { if ( propName == MouseDelegator . ActiveModeProperty ) { MapMouseMode mmm = ( MapMouseMode ) evt . getNewValue ( ) ; setResetCursor ( mmm . getModeCursor ( ) ) ; } else if ( propName == MapBean . LayersProperty ) { resetForLayers ( ( Layer [ ] ) evt . getNewValue ( ) , ( Layer [ ] ) evt . getOldValue ( ) ) ; } else if ( propName != MapBean . ProjectionProperty ) { return ; } setAllLabels ( fudgeString ) ; } initToolTip ( ) ; }
listen for changes to the active mouse mode and for any changes to the list of available mouse modes . if the active mouse mode is " gestures " , then the lat lon updates to the status line are deactivated .
