public MapMouseEvent(MapMouseMode mode,MouseEvent me){
  super((Component)me.getSource(),me.getID(),me.getWhen(),me.getModifiers(),me.getX(),me.getY(),me.getClickCount(),me.isPopupTrigger());
  if (me.getSource() instanceof MapBean) {
    map=(MapBean)me.getSource();
  }
  mapMouseMode=mode;
}

public MapMouseEvent ( MapMouseMode mode , MouseEvent me ) { super ( ( Component ) me . getSource ( ) , me . getID ( ) , me . getWhen ( ) , me . getModifiers ( ) , me . getX ( ) , me . getY ( ) , me . getClickCount ( ) , me . isPopupTrigger ( ) ) ; if ( me . getSource ( ) instanceof MapBean ) { map = ( MapBean ) me . getSource ( ) ; } mapMouseMode = mode ; }
create a mapmouseevent from a mapmousemode that is distributing the event and the original mouseevent delivered from a source component , most likely a mapbean .
