@Override
	public void actionPerformed(ActionEvent src) {
		Object source = src.getSource();

		if (source == btnReset) {
			resetAllTrain();

		} else if (source == btnAddLocomotive) {
			getLocomotiveInfo();

		} else if (source == btnAddPassengerCar) {
			getPassengerCarInfo();

		} else if (source == btnAddFreightCar) {
			getFreightCarInfo();

		} else if (source == btnBoard) {
			getBoard();

		} else if (source == btnRemoveCarriage) {
			RemoveCarriage();
		}

	}