public void actionPerformed(ActionEvent event) {
		
		String eventName = event.getActionCommand();
		
		switch (eventName) {

		case "TicketField":
			lookupTicket();
			break;
		case "LicenseField":
			lookupLicense();
			break;
		case "LostTicket":
			lostTicket();
			break;
		case "PayCash":
			exitUI.enableFindTicketButtons(false);
			exitUI.enablePaymentFields(false);
			currentTransaction.createCashPayment();
			register.validatePayment(currentTransaction);
			break;
		case "PayOnAccount":
			exitUI.enableFindTicketButtons(false);
			exitUI.enablePaymentFields(false);
			
			// get the license plate of the currenet vehicle
			String licensePlate = currentTicket.getVehicle().getLicensePlate();
			
			// lookup billing account by licensePlate
			BillingAccount billingAccount;
			try {
				billingAccount = garage.getBillingAccount(licensePlate);
			} catch (RemoteException e) {
				billingAccount = null;
			}
			
			currentTransaction.createAccountPayment(billingAccount);
			register.validatePayment(currentTransaction);
			break;
		case "PayCreditCard":
			exitUI.enableFindTicketButtons(false);
			exitUI.enablePaymentFields(false);
			String creditCardNumber = exitUI.getCreditCardNumber();
			int expMonth = exitUI.getExpMonth();
			int expYear = exitUI.getExpYear();
			currentTransaction.createCreditPayment(creditCardNumber, expMonth, expYear);
			register.validatePayment(currentTransaction);
			break;
		case "CanNotPay":
			exitUI.enableFindTicketButtons(false);
			exitUI.enablePaymentFields(false);
			currentTransaction.createAccountPayment(null);
			register.validatePayment(currentTransaction);
			break;
		}
				
	}