startupFileTextfield.setText(Cache.getDefault("STARTUP_FILE",\r
"http://www.jalview.org/examples/exampleFile.jar"));\r
\r
+ sortby.addItem("No sort");\r
+ sortby.addItem("Id");\r
+ sortby.addItem("Pairwise Identity");\r
+ sortby.setSelectedItem( Cache.getDefault("SORT_ALIGNMENT", "No sort") );\r
+\r
/****************************************************\r
* Set up Connections\r
*/\r
Cache.applicationProperties.setProperty("STARTUP_FILE", startupFileTextfield.getText());\r
Cache.applicationProperties.setProperty("SHOW_STARTUP_FILE", Boolean.toString(startupCheckbox.isSelected()));\r
\r
+ Cache.applicationProperties.setProperty("SORT_ALIGNMENT", sortby.getSelectedItem().toString() );\r
+\r
if(defaultBrowser.getText().trim().length()<1)\r
Cache.applicationProperties.remove("DEFAULT_BROWSER");\r
else\r