@Override
	public void handle(ActionEvent event) {
		if (sMax.getText().isEmpty()) {
			System.out.println("You must set number first!");
		} else {
			String userInput = sMax.getText().trim();
			int newSmax;
			try {
				newSmax = Integer.parseInt(userInput);
				road.setSmax(newSmax);
				System.out.println("Done!");
			} catch (Exception e) {
				System.out.println("Not a proper number!");
			}
		}
	}