public boolean simulationPaused(){
  return pauseButton.isSelected();
}

public boolean simulationPaused ( ) { return pauseButton . isSelected ( ) ; }
returns true if simulation pause button was pressed .
