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

public boolean addMouseListener ( final MapMouseListener listener ) { if ( listener == null ) { throw new IllegalArgumentException ( "The argument must not be null" ) ; } return listeners . add ( listener ) ; }
add a listener for jmappanemouseevents
