protected void fireProjectionStackEvent(String command){
  if (projListeners.isEmpty()) {
    return;
  }
  ActionEvent event=new ActionEvent(this,0,command);
  for (  ActionListener listener : projListeners) {
    listener.actionPerformed(event);
  }
}

protected void fireProjectionStackEvent ( String command ) { if ( projListeners . isEmpty ( ) ) { return ; } ActionEvent event = new ActionEvent ( this , 0 , command ) ; for ( ActionListener listener : projListeners ) { listener . actionPerformed ( event ) ; } }
called by keyreleased when the period / comma keys are pressed .
