currentAlignFrame is public
[jalview.git] / src / jalview / bin / JalviewLite.java
index 081efa6..09e8701 100755 (executable)
@@ -1,6 +1,6 @@
 /*\r
 * Jalview - A Sequence Alignment Editor and Viewer\r
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+* Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
 *\r
 * This program is free software; you can redistribute it and/or\r
 * modify it under the terms of the GNU General Public License\r
@@ -46,7 +46,7 @@ public class JalviewLite extends Applet
 \r
     //The currentAlignFrame is static, it will change\r
     //if and when the user selects a new window\r
-    static AlignFrame currentAlignFrame;\r
+    public static AlignFrame currentAlignFrame;\r
 \r
     //This is the first frame to be displayed, and does not change\r
     AlignFrame initialAlignFrame;\r
@@ -318,7 +318,8 @@ public class JalviewLite extends Applet
 \r
                 String treeFile = applet.getParameter("tree");\r
                 if(treeFile==null)\r
-                  applet.getParameter("treeFile");\r
+                  treeFile = applet.getParameter("treeFile");\r
+\r
                 if (treeFile != null)\r
                 {\r
                   try\r