private boolean validateNumberOfDvds() {

		boolean result = true;

		if (!dvdForm.txtNoOfDvds.getText().trim().matches("([0-9]*)")) {
			result = false;
			JOptionPane.showMessageDialog(null, "Please enter a valid number",
					"Invalid Number of DVDs!", JOptionPane.ERROR_MESSAGE);
			dvdForm.txtNoOfDvds.setText("");
			return result;
		}

		return result;
	}