From 75b601c07269d33574fb36f3e128097028e3f7e4 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 4 May 2007 10:48:38 +0000 Subject: [PATCH] New example file for version 2.3 --- src/jalview/bin/Jalview.java | 6 +++--- src/jalview/gui/Preferences.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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"); -- 1.7.10.2