public void customerTableClicked() {

		int row = formMain.tblCustomer.getSelectedRow();

		if (row > -1) {
			customerTableClicked = true;
			selectedCustomer = new Customer();
			selectedCustomer = formMain.customerTableModel.getDataVector().get(
					row);
			LOGGER.debug("selected row customer id: "
					+ selectedCustomer.getId());
			setCustomerFields(selectedCustomer);
			formMain.customerTableModel.getDataVector().clear();
			formMain.customerTableModel.getDataVector().add(selectedCustomer);
			formMain.customerTableModel.fireTableDataChanged();
			List<Transaction> transactionLst = dao
					.findTransactionByCustomer(selectedCustomer);

			if (!transactionLst.isEmpty()) {
				Vector<Transaction> transactions = new Vector<Transaction>();
				transactions.addAll(transactionLst);
				formMain.transactinTblModel.setDataVector(transactions);
				formMain.transactinTblModel.fireTableDataChanged();
				formMain.txtOverDueDays.setEnabled(false);
				formMain.txtRefundable.setEnabled(false);
			}

			customerTableClicked = false;

			if (selectedDvd != null
					&& formMain.tblTransaction.getRowCount() == 0) {
				formMain.btnAddtoTransaction.setEnabled(true);
			}
		}
	}