Warning no longer red
authoramwaterhouse <Andrew Waterhouse>
Tue, 23 Aug 2005 16:07:49 +0000 (16:07 +0000)
committeramwaterhouse <Andrew Waterhouse>
Tue, 23 Aug 2005 16:07:49 +0000 (16:07 +0000)
src/jalview/gui/SplashScreen.java

index b73b996..31b0d31 100755 (executable)
@@ -101,9 +101,11 @@ public class SplashScreen extends JPanel implements Runnable
         try\r
         {\r
             iframe.setClosed(true);\r
+            iframe=null;\r
         }\r
         catch (Exception ex)\r
         {\r
+          ex.printStackTrace();\r
         }\r
     }\r
 \r
@@ -144,7 +146,6 @@ public class SplashScreen extends JPanel implements Runnable
             jalview.bin.Cache.getProperty("VERSION")))\r
         {\r
           // Displayed when code version and jnlp version do not match\r
-          g.setColor(Color.red);\r
 \r
           g.drawString("!! Jalview version " +\r
                        jalview.bin.Cache.getDefault("LATEST_VERSION", "..Checking..")\r
@@ -161,7 +162,7 @@ public class SplashScreen extends JPanel implements Runnable
             50,  y+=fontSize+4);\r
         g.drawString("If  you use JalView, please cite: Clamp, M., Cuff, J., Searle, S. M. and Barton, G. J. (2004),",\r
             50, y+=fontSize+4);\r
-        g.drawString("\"The Jalview Java Alignment Editor\" Bioinformatics,  2004 12;426-7.",\r
+        g.drawString("\"The Jalview Java Alignment Editor\" Bioinformatics,  2004 12; 426-7.",\r
             50, y+=fontSize+4);\r
     }\r
 }\r