public void restoreProperties() { getModel().clear(); UserProfile profile = GlobalOptions.getSelectedProfile(); villageSelectionPanel.setExpertSelection( Boolean.parseBoolean(profile.getProperty("ret.source.expert"))); villageSelectionPanel.setup(); }
public void storeProperties() { UserProfile profile = GlobalOptions.getSelectedProfile(); profile.addProperty("ret.source.expert", villageSelectionPanel.isExpertSelection()); }