public void removeFunctionListener(FunctionListener l){
  if (listeners.contains(l)) {
    listeners.remove(l);
  }
}

public void removeFunctionListener ( FunctionListener l ) { if ( listeners . contains ( l ) ) { listeners . remove ( l ) ; } }
remove a listener from this button .
