public boolean removeMouseListener(final MapMouseListener listener){
  if (listener == null) {
    throw new IllegalArgumentException("The argument must not be null");
  }
  return listeners.remove(listener);
}

public boolean removeMouseListener ( final MapMouseListener listener ) { if ( listener == null ) { throw new IllegalArgumentException ( "The argument must not be null" ) ; } return listeners . remove ( listener ) ; }
remove a mapmouselistener from the active listeners
