question: public void mouseExited ( MouseEvent e ) { mouseSupport . fireMapMouseExited ( e ) ; if ( e . getSource ( ) instanceof MapBean ) { rPoint2 = null ; } }
target:  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.