private void updateDmflags() {
            for (int i = 0; i < DMFLAGS_NUM; i++) {
                try {
                    dmFlags[i] = Integer.parseInt(dmFlagJTextFields[i].getText());
                } catch (NumberFormatException e) {
                }

            }
        }