public void startSimulation() {
		try{
			int rr = Integer.parseInt(refreshRate.getText());
			if(rr <= 0){
				Main.minorError("Invalid input: '" + refreshRate.getText() + "' is not a positive integer.\nThe refresh rate has to be a positive integer.");
				return;
			}
			Configuration.refreshRate = rr;
		}	catch(java.lang.NumberFormatException nFE){
			Main.minorError("Invalid input: '" + refreshRate.getText() + "' is not a valid integer.");
			return;
		}
		try {
			int rounds = Integer.parseInt(roundsToPerform.getText());
			if(rounds <= 0){
				Main.minorError("Invalid input: '" + roundsToPerform.getText() + "' is not a positive integer.\nThe number of rounds has to be a positive integer.");
				return;
			}
			parent.setStartButtonEnabled(false);
			parent.runtime.run(rounds, true);
		}
		catch(java.lang.NumberFormatException nFE){
			Main.minorError("Invalid input: '" + roundsToPerform.getText() + "' is not a valid integer.");
		}
	}