Package com.santiagolizardo.beobachter.config

Examples of com.santiagolizardo.beobachter.config.ConfigPersistence


    } catch (IOException ex) {
      System.err.println(ex.getMessage());
    }

    final ConfigData configData = new ConfigData();
    ConfigPersistence configPersistence = new ConfigPersistence();
    try {
      configData.setConfiguration(configPersistence
          .loadProperties());
    } catch (IOException ex) {
      System.err.println(ex.getMessage());
    }
View Full Code Here


    configData.setWindowHeight(getHeight());
    configData.setWindowWidth(getWidth());
    configData.setWindowX(getX());
    configData.setWindowY(getY());

    ConfigPersistence configPersistence = new ConfigPersistence();
    configPersistence.saveProperties(this,
        configData.getConfiguration());

    dispose();
    exitCode = 0;
View Full Code Here

        configManager.setFontFamily(fontFamilyCombo.getSelectedItem()
            .toString());
        configManager.setFontSize(Integer.parseInt(fontSizeCombo.getValue()
            .toString()));

        ConfigPersistence configPersistence = new ConfigPersistence();
        configPersistence.saveProperties(mainWindow,
            configManager.getConfiguration());

        JInternalFrame[] internalFrames = mainWindow.getDesktop().getAllFrames();
        for (JInternalFrame internalFrame : internalFrames) {
          LogWindow logWindow = (LogWindow) internalFrame;
View Full Code Here

        Object selectedLanguage = languageComboBox.getSelectedItem();
        if (null != selectedLanguage) {
          configManager.setLanguage(selectedLanguage.toString());
        }

        ConfigPersistence configPersistence = new ConfigPersistence();
        configPersistence.saveProperties(mainWindow,
            configManager.getConfiguration());

        dispose();
      }
    });
View Full Code Here

TOP

Related Classes of com.santiagolizardo.beobachter.config.ConfigPersistence

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.