Sort by added to preferences
[jalview.git] / src / jalview / gui / SplashScreen.java
index 1bf51ed..9ceb490 100755 (executable)
@@ -104,6 +104,7 @@ public class SplashScreen extends JPanel implements Runnable
         }\r
         catch (Exception ex)\r
         {\r
+          ex.printStackTrace();\r
         }\r
     }\r
 \r
@@ -134,9 +135,7 @@ public class SplashScreen extends JPanel implements Runnable
 \r
         if (jalview.bin.Cache.getDefault("LATEST_VERSION", "Checking").equals("Checking"))\r
         {\r
-          // If the jnlp version and the code version differ, warn the user\r
-          g.setColor(Color.red);\r
-\r
+          // Displayed when code version and jnlp version do not match\r
           g.drawString("...Checking latest version...",\r
                        50, y += fontSize + 10);\r
           y += 5;\r
@@ -145,9 +144,8 @@ public class SplashScreen extends JPanel implements Runnable
         else if (!jalview.bin.Cache.getDefault("LATEST_VERSION", "Checking").equals(\r
             jalview.bin.Cache.getProperty("VERSION")))\r
         {\r
-          // If the jnlp version and the code version differ, warn the user\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
                        + " is available for download from http://www.jalview.org !!",\r
@@ -163,7 +161,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