From: amwaterhouse Date: Tue, 4 Apr 2006 09:33:12 +0000 (+0000) Subject: Jalview2XML does not use static load anymore X-Git-Tag: Release_2_08~81 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b76544bc71a9751607064ec68b26e7cacc502024;p=jalview.git Jalview2XML does not use static load anymore --- diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 9085b1e..e735526 100755 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -415,7 +415,7 @@ public class Desktop extends jalview.jbgui.GDesktop if (url.toLowerCase().endsWith(".jar")) { jalview.bin.Cache.setProperty("DEFAULT_FILE_FORMAT", "Jalview"); - Jalview2XML.LoadJalviewAlign(url); + new Jalview2XML().LoadJalviewAlign(url); } else { @@ -549,7 +549,7 @@ public class Desktop extends jalview.jbgui.GDesktop { java.io.File choice = chooser.getSelectedFile(); jalview.bin.Cache.setProperty("LAST_DIRECTORY", choice.getParent()); - Jalview2XML.SaveState(choice); + new Jalview2XML().SaveState(choice); } } @@ -573,7 +573,7 @@ public class Desktop extends jalview.jbgui.GDesktop String choice = chooser.getSelectedFile().getAbsolutePath(); jalview.bin.Cache.setProperty("LAST_DIRECTORY", chooser.getSelectedFile().getParent()); - Jalview2XML.LoadJalviewAlign(choice); + new Jalview2XML().LoadJalviewAlign(choice); } }