public void addResultListener(ResultListener listener){
  listenerList.add(listener);
}

public void addResultListener ( ResultListener listener ) { listenerList . add ( listener ) ; }
register a result listener .
