- public void ok_actionPerformed(ActionEvent e)\r
- {\r
- showFullId = fullID.isSelected();\r
- showFullscreen = fullScreen.isSelected();\r
- showAnnotation = annotations.isSelected();\r
- showConservation = conservation.isSelected();\r
- showQuality = quality.isSelected();\r
- showIdentity = identity.isSelected();\r
- defaultColour = colour.getSelectedItem().toString();\r
- gapSymbol = gapSymbolCB.getSelectedItem().toString().charAt(0);\r
- fontName = fontNameCB.getSelectedItem().toString();\r
- fontSize = fontSizeCB.getSelectedItem().toString();\r
- fontStyle = fontStyleCB.getSelectedItem().toString();\r
- startupFile = startupFileTextfield.getText();\r
- showStartupFile = startupCheckbox.isSelected();\r
-\r
- Cache.setProperty("SHOW_FULL_ID", Boolean.toString(showFullId));\r
- Cache.setProperty("SHOW_FULLSCREEN", Boolean.toString(showFullscreen));\r
-\r
- Cache.setProperty("SHOW_ANNOTATIONS", Boolean.toString(showAnnotation));\r
- Cache.setProperty("SHOW_CONSERVATION",\r
- Boolean.toString(showConservation));\r
- Cache.setProperty("SHOW_QUALITY", Boolean.toString(showQuality));\r
- Cache.setProperty("SHOW_IDENTITY", Boolean.toString(showIdentity));\r
-\r
- Cache.setProperty("DEFAULT_COLOUR", defaultColour);\r
- Cache.setProperty("GAP_SYMBOL", gapSymbol + "");\r
-\r
- Cache.setProperty("FONT_NAME", fontName);\r
- Cache.setProperty("FONT_STYLE", fontStyle);\r
- Cache.setProperty("FONT_SIZE", fontSize);\r
-\r
- Cache.setProperty("STARTUP_FILE", startupFile);\r
- Cache.setProperty("SHOW_STARTUP_FILE", Boolean.toString(showStartupFile));\r