public void mouseExited(MouseEvent e){
  if (Debug.debugging("mousemodedetail")) {
    Debug.output(getID() + "|NavMouseMode.mouseExited()");
  }
  super.mouseExited(e);
  if (theMap == e.getSource()) {
    autoZoom=false;
    point2=null;
    theMap.repaint();
  }
}

public void mouseExited ( MouseEvent e ) { if ( Debug . debugging ( "mousemodedetail" ) ) { Debug . output ( getID ( ) + "|NavMouseMode.mouseExited()" ) ; } super . mouseExited ( e ) ; if ( theMap == e . getSource ( ) ) { autoZoom = false ; point2 = null ; theMap . repaint ( ) ; } }
handle a mouseexited mouselistener event . the boolean autozoom is set to false , which will cause the delegate to not ask the map to zoom in on a box . if a box is being drawn , it will be erased . the point1 is kept in case the mouse comes back on the screen with the button still down . then , a new box will be drawn with the original mouse press position .
