private void checkEnabled() {
        /*
         * if (!numberInUse() && !nameInUse() && (cbMuseumEducator.isSelected()
         * || cbClerk.isSelected() || cbOther.isSelected()) &&
         * (cbFullTime.isSelected() || ((cbPartTime.isSelected() ||
         * (pnlVacationPercentage.isVisible() &&
         * !tfVacationPercentage.getText().isEmpty())) &&
         * !tfHours.getText().isEmpty() &&
         * Double.parseDouble(tfHours.getText().replace(",", ".")) <= 40.0))) {
         * btnSave.setEnabled(true);
         */
        if (!numberInUse()
                && !nameInUse()
                && (!pnlHours.isVisible() || (pnlHours.isVisible() && !tfHours.getText().isEmpty()))
                && (!pnlVacationPercentage.isVisible() || (pnlVacationPercentage.isVisible() && !tfVacationPercentage.getText().isEmpty()))) {
            btnSave.setEnabled(true);
        } else {
            btnSave.setEnabled(false);
        }
    }