From b76544bc71a9751607064ec68b26e7cacc502024 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 4 Apr 2006 09:33:12 +0000 Subject: [PATCH] Jalview2XML does not use static load anymore --- src/jalview/gui/Desktop.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } } -- 1.7.10.2