/** * Finishes up the initialization. */ @Override protected void finishInit() { super.finishInit(); loadSetup(); }
/** * Attempts to load a previous setup from a props file. */ protected void loadSetup() { Properties props; props = new Properties(); PropsUtils.load(props, Project.getHome() + File.separator + getClass().getSimpleName() + ".props"); propsToGUI(props); }
/** * Saves the current setup in a props file. */ protected void saveSetup() { Properties props; props = guiToProps(); PropsUtils.save(props, Project.getHome() + File.separator + getClass().getSimpleName() + ".props"); } }