private void applyChanges() {
        if (hasChanged) {
            // Set any new fonts
            for (Iterator<String> iter = fontMap.keySet().iterator();  iter.hasNext(); ) {
                String key  = iter.next();
                Font   font = fontMap.get(key);
                SqlToolkit.userConfig.setFont(key, font);
            }

            // Set the new tab spacing, making sure the user entered an integer value
            int tabsp = SqlToolkit.userConfig.getTabSpacing();
            try {
                tabsp = Integer.parseInt(tabSpaceTF.getText());
            } catch (Exception ex) {
                tabsp = SqlToolkit.userConfig.getTabSpacing();
            }
            tabSpaceTF.setText(""+tabsp);
            SqlToolkit.userConfig.setTabSpacing(tabsp);

            // Set the click count (for sorting table columns)
            int clkcnt = SqlToolkit.userConfig.getClickCount();
            try {
                clkcnt = Integer.parseInt(clickCountTF.getText());
            } catch (Exception ex) {
                clkcnt = SqlToolkit.userConfig.getClickCount();
            }
            SqlToolkit.userConfig.setClickCount(clkcnt);
            clickCountTF.setText("" + SqlToolkit.userConfig.getClickCount());

            // Set the field delimeter
            SqlToolkit.userConfig.setFieldDelim(fieldDelimTF.getText());

            // Set the optional quote character
            String quote = "";
            if (singleQuoteRB.isSelected()) {
                quote = "'";
            } else if (doubleQuoteRB.isSelected()) {
                quote = "\"";
            }
            SqlToolkit.userConfig.setFieldQuote(quote);

            // Set the field delimeter
            SqlToolkit.userConfig.setSqlDelim(sqlDelimTF.getText());

            SqlToolkit.userConfig.setBodyDelim(bodyDelimTF.getText());

            // Set the log file name
            SqlToolkit.userConfig.setLogFile(logFileTF.getText());

            // Set the log level
            String logLevel = "NONE";
            if (infoLogRB.isSelected()) {
                logLevel = "INFO";
            } else if (debugLogRB.isSelected()) {
                logLevel = "DEBUG";
            }
            SqlToolkit.userConfig.setLogLevel(logLevel);

            hasChanged = false;
            fontMap = new HashMap<String,Font>(10);
        }
    }