public void mouseExited(MouseEvent e){
  mouseSupport.fireMapMouseExited(e);
  if (e.getSource() instanceof MapBean) {
    rPoint2=null;
  }
}

public void mouseExited ( MouseEvent e ) { mouseSupport . fireMapMouseExited ( e ) ; if ( e . getSource ( ) instanceof MapBean ) { rPoint2 = null ; } }
process a mouseexited event . if a line is being drawn ( and mouse go off the map ) , it will be erased . the anchor point rpoint1 is kept in case the mouse comes back on the screen . then , a new line will be drawn with the original mouse press position .
