Package ch.fork.AdHocRailway.technical.configuration

Examples of ch.fork.AdHocRailway.technical.configuration.Preferences.save()


        p.setStringValue(DATABASE_HOST, (String) databaseHostField.getText());
        p.setStringValue(DATABASE_NAME, (String) databaseNameField.getText());
        p.setStringValue(DATABASE_USER, (String) databaseUserField.getText());
        p.setStringValue(DATABASE_PWD, (String) databasePasswordField.getText());
        try {
            p.save();
        } catch (FileNotFoundException e) {
            ExceptionProcessor.getInstance().processException(e);
        } catch (IOException e) {
            ExceptionProcessor.getInstance().processException(e);
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.