public void addUserListener(UserListener listener){
  if (listener != null) {
    userListener.add(listener);
  }
}

public void addUserListener ( UserListener listener ) { if ( listener != null ) { userListener . add ( listener ) ; } }
set the object that should receive the user object once a user is clicked
