Jalview2XML does not use static load anymore
authoramwaterhouse <Andrew Waterhouse>
Tue, 4 Apr 2006 09:33:12 +0000 (09:33 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 4 Apr 2006 09:33:12 +0000 (09:33 +0000)
src/jalview/gui/Desktop.java

index 9085b1e..e735526 100755 (executable)
@@ -415,7 +415,7 @@ public class Desktop extends jalview.jbgui.GDesktop
         if (url.toLowerCase().endsWith(".jar"))\r
         {\r
                jalview.bin.Cache.setProperty("DEFAULT_FILE_FORMAT", "Jalview");\r
-               Jalview2XML.LoadJalviewAlign(url);\r
+               new Jalview2XML().LoadJalviewAlign(url);\r
         }\r
         else\r
         {\r
@@ -549,7 +549,7 @@ public class Desktop extends jalview.jbgui.GDesktop
         {\r
             java.io.File choice = chooser.getSelectedFile();\r
             jalview.bin.Cache.setProperty("LAST_DIRECTORY", choice.getParent());\r
-            Jalview2XML.SaveState(choice);\r
+            new Jalview2XML().SaveState(choice);\r
         }\r
     }\r
 \r
@@ -573,7 +573,7 @@ public class Desktop extends jalview.jbgui.GDesktop
             String choice = chooser.getSelectedFile().getAbsolutePath();\r
             jalview.bin.Cache.setProperty("LAST_DIRECTORY",\r
                 chooser.getSelectedFile().getParent());\r
-            Jalview2XML.LoadJalviewAlign(choice);\r
+            new Jalview2XML().LoadJalviewAlign(choice);\r
         }\r
     }\r
 \r