public void findAndUndo(Object someObj){
  if (someObj instanceof com.bbn.openmap.MapBean) {
    logger.fine("ProjectionStack removing a MapBean.");
    MapBean map=getMapBean();
    if (map != null && map == (MapBean)someObj) {
      setMapBean(null);
    }
  }
}

public void findAndUndo ( Object someObj ) { if ( someObj instanceof com . bbn . openmap . MapBean ) { logger . fine ( "ProjectionStack removing a MapBean." ) ; MapBean map = getMapBean ( ) ; if ( map != null && map == ( MapBean ) someObj ) { setMapBean ( null ) ; } } }
look at the object received in a maphandler status message and disconnect from it if necessary .
