public boolean addStackChangedListener(StackChangedListener listener){
  return listeners.add(listener);
}

public boolean addStackChangedListener ( StackChangedListener listener ) { return listeners . add ( listener ) ; }
adds a stackchangedlistener for stack - changed events
