public void changes() {
            init();
            updateDmflags();

            int id = 0;
            if (skillJComboBox.getSelectedIndex() != 0) {
                miscArgs[0] = "-skill " + (skillJComboBox.getSelectedIndex() - 1);
            } else {
                miscArgs[0] = "";
            }

            if (mapJTextField.getText().length() > 0) {
                miscArgs[1] = "+map " + mapJTextField.getText();
            }
            id = 2;
            for (int i = 2; i < DMFLAGS_NUM + 2; i++) {
                int dmflagID = i - 2;

                if (dmFlags[dmflagID] != 0) {
                    miscArgs[id] = dmFlagsNames[dmflagID] + dmFlags[dmflagID];
                    id++;
                }
            }
            int sv_cheats = (svCheatsCheckBox.isSelected()) ? 1 : 0;
            if (sv_cheats > 0) {
                miscArgs[id] = "+sv_cheats " + (sv_cheats);
                id++;
            }
            for (int i = 0; i < compat.length; i++) {
                if (compat[i] != 0) {
                    miscArgs[id] = compatTextFieldsNames[i] + compat[i];
                    id++;
                }

            }
            for (int i = 0; i < miscArgs.length; i++) {
                miscParam += " " + miscArgs[i];
            }
        }