public UpdateSettings(JComboBox numberOfThreadsList, JComboBox numberOfDigitsList, 
                JTextField defaultNumberOfSimulations, JCheckBox showMinorErrorMessages, 
                Settings settings, JDialog dialog, GUIMainWindow gui) {
            this.numberOfThreadsList = numberOfThreadsList;
            this.numberOfDigitsList = numberOfDigitsList;
            this.defaultNumberOfSimulations = defaultNumberOfSimulations;
            this.showMinorErrorMessages = showMinorErrorMessages;
            this.settings = settings;
            this.dialog = dialog;
            this.gui = gui;
        }