private void addDvd() {

		if (!(dvdForm.btnSave.isEnabled())) {
			dvdForm.dvdTableModel.getDataVector().clear();
		}

		JTextField[] txts = new JTextField[] { dvdForm.txtDvdName,
				dvdForm.txtNoOfDvds };

		JComboBox[] cmbs = new JComboBox[] { dvdForm.cmbDvdCategory,
				dvdForm.cmbDVDLanguage };

		if (!validateEmpty(txts) || !validateCombo(cmbs)) {
			return;
		}

		if (!validateNumberOfDvds()) {
			return;
		}

		DVD dvd = new DVD();
		dvd.setDvdName(dvdForm.txtDvdName.getText());
		dvd.setCategory(dvdForm.cmbDvdCategory.getSelectedItem().toString());
		dvd.setLanguage(dvdForm.cmbDVDLanguage.getSelectedItem().toString());
		dvd.setNumberOfDvds(Integer.parseInt(dvdForm.txtNoOfDvds.getText()));
		dvd.setAvailable(true);
		LOGGER.debug("dvd addded: " + dvd.getDvdName());
		dvdForm.dvdTableModel.getDataVector().add(dvd);
		dvdForm.dvdTableModel.fireTableDataChanged();
		dvdForm.btnSave.setEnabled(true);
		dvdForm.btnSave.setEnabled(true);
		resetForm(dvdForm);
	}