public void tableChanged(TableModelEvent param_e) {

		if (param_e.getSource() == formMain.transactinTblModel) {
			int noOfRows = formMain.transactinTblModel.getRowCount();
			LOGGER.debug("No of transactions: " + noOfRows);
			int _deposit = deposit * noOfRows;
			int _rental = rental * noOfRows;
			formMain.txtDeposit.setText(String.valueOf(_deposit));
			formMain.txtNoOfDvds.setText(String.valueOf(noOfRows));
			formMain.txtRent.setText(String.valueOf(_rental));
			formMain.txtTotalPay.setText(String.valueOf(_deposit + _rental));

			if (noOfRows > 0) {
				formMain.btnOk.setEnabled(true);
				formMain.btnCancel.setEnabled(true);
				formMain.btnRemoveTransaction.setEnabled(true);

				if (!formMain.btnAddtoTransaction.isEnabled()) {
					formMain.btnReturn.setEnabled(true);
				}
			}
		}

	}