mckoiSettings.setLogFile(logFile.getText());
    public JPanel getConfPanel() {        if (mckoiSettings == null) {            mckoiSettings = new MckoiSettings(mckoiFile);        }                JPanel outer = new JPanel();        outer.setLayout(new BorderLayout());                // top        JPanel top = new JPanel();        final JPanel panel = new JPanel();        panel.setLayout(new GridLayout(9,2));                panel.add(new JLabel("DB Pfad"));        final JTextField dbPath =             new JTextField(mckoiSettings.getDbPath());        panel.add(dbPath);                panel.add(new JLabel("Log Pfad"));        final JTextField logPath =             new JTextField(mckoiSettings.getLogPath());        panel.add(logPath);                panel.add(new JLabel("Ignoriere Gross- Kleinschreibung"));        final JTextField ignoreCase =             new JTextField(mckoiSettings.getIgnoreCase());        panel.add(ignoreCase);                panel.add(new JLabel("Data Cache"));        final JTextField dataCache =             new JTextField(mckoiSettings.getDataCache());        panel.add(dataCache);                panel.add(new JLabel("Entry Cache"));        final JTextField entryCache =             new JTextField(mckoiSettings.getEntryCache());        panel.add(entryCache);                panel.add(new JLabel("Max. Worker Threads"));        final JTextField workerThreads =             new JTextField(mckoiSettings.getWorkerThreads());        panel.add(workerThreads);                panel.add(new JLabel("Log Level"));        final JTextField logLevel =             new JTextField(mckoiSettings.getLogLevel());        panel.add(logLevel);                panel.add(new JLabel("Nur Lesezugriff"));        final JTextField readOnly =             new JTextField(mckoiSettings.getReadOnly());        panel.add(readOnly);                top.add(panel);                // bottom        JButton restore = new JButton("default");        restore.addActionListener(            new ActionListener() {                public void actionPerformed(ActionEvent e) {                    if (e.getActionCommand().equals("default")) {                        mckoiSettings.restoreDefaults();                        dataCache.setText(mckoiSettings.getDataCache());                        logPath.setText(mckoiSettings.getLogPath());                        logLevel.setText(mckoiSettings.getLogLevel());                        entryCache.setText(mckoiSettings.getEntryCache());                        workerThreads.setText(mckoiSettings.getWorkerThreads());                        dbPath.setText(mckoiSettings.getDbPath());                        readOnly.setText(mckoiSettings.getReadOnly());                        ignoreCase.setText(mckoiSettings.getIgnoreCase());                        panel.repaint();                    }                }            });                JButton save = new JButton("save");        save.addActionListener(            new ActionListener() {                public void actionPerformed(ActionEvent e) {                    if (e.getActionCommand().equals("save")) {                        mckoiSettings.setDataCache(dataCache.getText());                        mckoiSettings.setLogPath(logPath.getText());                        mckoiSettings.setLogLevel(logLevel.getText());                        mckoiSettings.setEntryCache(entryCache.getText());                        mckoiSettings.setWorkerThreads(workerThreads.getText());                        mckoiSettings.setDbPath(dbPath.getText());                        mckoiSettings.setReadOnly(readOnly.getText());                        mckoiSettings.setIgnoreCase(ignoreCase.getText());                        mckoiSettings.saveConfig();                    }                }            });        JPanel bottom = new JPanel();        bottom.setLayout(new FlowLayout());        bottom.add(restore);        bottom.add(save);                outer.add(top, BorderLayout.CENTER);        outer.add(bottom, BorderLayout.SOUTH);                JPanel full = new JPanel();        full.setLayout(new FlowLayout());        full.add(outer);                return full;    }