public void registerMediaListener(MediaListener mediaListener){
  mediaListenerList.add(mediaListener);
}

public void registerMediaListener ( MediaListener mediaListener ) { mediaListenerList . add ( mediaListener ) ; }
registering and notifying listeners
