private void validateField() throws Exception {
        if (txtNumber.getText().equals("")) {
            throw new Exception("Please enter Employee Number");
        }

        KeyValue department = (KeyValue) cmbFromDepartment.getSelectedItem();
        if (department.getValue().equals("")) {
            throw new Exception("Please select Department");
        }

        KeyValue toDepartment = (KeyValue) cmbToDepartment.getSelectedItem();
        if (toDepartment.getValue().equals("")) {
            throw new Exception("Please select To Department");
        }

        KeyValue location = (KeyValue) cmbFromLocation.getSelectedItem();
        if (location.getValue().equals("")) {
            throw new Exception("Please select Location");
        }

        KeyValue toLocation = (KeyValue) cmbToLocation.getSelectedItem();
        if (toLocation.getValue().equals("")) {
            throw new Exception("Please select To Location");
        }

        KeyValue project = (KeyValue) cmbFromProject.getSelectedItem();
        if (project.getValue().equals("")) {
            throw new Exception("Please select Project");
        }

        KeyValue toProject = (KeyValue) cmbToLocation.getSelectedItem();
        if (toProject.getValue().equals("")) {
            throw new Exception("Please select To Project");
        }

    }