private void checkEnabled() {
        int correct = 0;
        for (JTextField field : fields) {
            if (isCorrect(field)) {
                correct += 1;
            }
        }

        if (correct == fields.size()) {
            btnSave.setEnabled(true);
        } else {
            btnSave.setEnabled(false);
        }
    }