From: amwaterhouse Date: Fri, 4 May 2007 10:48:38 +0000 (+0000) Subject: New example file for version 2.3 X-Git-Tag: Release_2_3~63 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=75b601c07269d33574fb36f3e128097028e3f7e4;p=jalview.git New example file for version 2.3 --- diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index 5fcd9d0..f0c33a1 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -304,11 +304,11 @@ public class Jalview protocol = "URL"; } - // if (file.endsWith(".jar")) + if (file.endsWith(".jar")) { - // format = "Jalview"; + format = "Jalview"; } - // else + else { format = new jalview.io.IdentifyFile().Identify(file, protocol); } diff --git a/src/jalview/gui/Preferences.java b/src/jalview/gui/Preferences.java index e69492c..b42c342 100755 --- a/src/jalview/gui/Preferences.java +++ b/src/jalview/gui/Preferences.java @@ -144,7 +144,7 @@ public class Preferences startupCheckbox.setSelected(Cache.getDefault("SHOW_STARTUP_FILE", true)); startupFileTextfield.setText(Cache.getDefault("STARTUP_FILE", - "http://www.jalview.org/examples/exampleFile.jar")); + "http://www.jalview.org/examples/exampleFile2_3.jar")); sortby.addItem("No sort"); sortby.addItem("Id");