+ final boolean showAutocalcFirst = sortAutocalc.getSelectedIndex() == 0;
+ Cache.applicationProperties.setProperty(SHOW_AUTOCALC_ABOVE, Boolean
+ .valueOf(showAutocalcFirst).toString());
+
+ /*
+ * Save Colours settings
+ */
+ Cache.applicationProperties.setProperty(DEFAULT_COLOUR_PROT, protColour
+ .getSelectedItem().toString());
+ Cache.applicationProperties.setProperty(DEFAULT_COLOUR_NUC, nucColour
+ .getSelectedItem().toString());
+ Cache.setColourProperty("ANNOTATIONCOLOUR_MIN",
+ minColour.getBackground());
+ Cache.setColourProperty("ANNOTATIONCOLOUR_MAX",
+ maxColour.getBackground());
+
+ /*
+ * Save Structure settings
+ */
+ Cache.applicationProperties.setProperty(ADD_TEMPFACT_ANN,
+ Boolean.toString(addTempFactor.isSelected()));
+ Cache.applicationProperties.setProperty(ADD_SS_ANN,
+ Boolean.toString(addSecondaryStructure.isSelected()));
+ Cache.applicationProperties.setProperty(USE_RNAVIEW,
+ Boolean.toString(useRnaView.isSelected()));
+ Cache.applicationProperties.setProperty(STRUCT_FROM_PDB,
+ Boolean.toString(structFromPdb.isSelected()));
+ Cache.applicationProperties.setProperty(STRUCTURE_DISPLAY, structViewer
+ .getSelectedItem().toString());
+ Cache.setOrRemove(CHIMERA_PATH, chimeraPath.getText());
+ Cache.applicationProperties.setProperty("MAP_WITH_SIFTS",
+ Boolean.toString(siftsMapping.isSelected()));
+ SiftsSettings.setMapWithSifts(siftsMapping.isSelected());
+
+ /*
+ * Save Output settings
+ */
+ Cache.applicationProperties.setProperty("EPS_RENDERING",
+ ((OptionsParam) epsRendering.getSelectedItem()).getCode());
+
+ /*
+ * Save Connections settings
+ */
+ Cache.setOrRemove("DEFAULT_BROWSER", defaultBrowser.getText());