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
{\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
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