put bioinformatics into message
[jalview.git] / src / jalview / gui / SplashScreen.java
index 522215d..7fc4439 100755 (executable)
@@ -34,7 +34,7 @@ public class SplashScreen extends JPanel implements Runnable
 \r
     while( visible )\r
     {\r
-      if( System.currentTimeMillis()/1000 - startTime > 8)\r
+      if( System.currentTimeMillis()/1000 - startTime > 5)\r
         visible = false;\r
 \r
       try{\r
@@ -53,28 +53,30 @@ public class SplashScreen extends JPanel implements Runnable
     try\r
     {\r
       iframe.setClosed(true);\r
-      Desktop.splashScreenClosing();\r
     }\r
     catch (Exception ex)\r
     {}\r
 \r
   }\r
 \r
-\r
+  int fontSize = 11;\r
+  int yoffset = 30;\r
   public void paintComponent(Graphics g)\r
   {\r
     g.setColor(Color.white);\r
     g.fillRect(0,0,getWidth(),getHeight());\r
     g.setColor(Color.black);\r
-    g.setFont( new Font("Verdana", Font.BOLD, 18));\r
+    g.setFont( new Font("Verdana", Font.BOLD, fontSize+6));\r
     if(image!=null)\r
-    g.drawImage(image, 5,60,this);\r
-    g.drawString("JalView 2005", 50,50);\r
-    g.setFont( new Font("Verdana", Font.BOLD, 14));\r
-    g.drawString("Authors:  Michele Clamp, James Cuff, Steve Searle, Andrew Waterhouse and Geoff Barton.",50,70);\r
-    g.drawString("Current development managed by Andrew Waterhouse; Barton Group, University of Dundee.",50,90);\r
-    g.drawString("If  you use JalView, please cite:",50,110);\r
-    g.drawString("\"Clamp, M., Cuff, J., Searle, S. M. and Barton, G. J. (2004), The Jalview Java Alignment Editor\"",50,130);\r
+    g.drawImage(image, 5,yoffset+12,this);\r
+    g.drawString("JalView 2005 ", 50,yoffset);\r
+    g.setFont( new Font("Verdana", Font.BOLD, fontSize+2));\r
+    g.drawString("Version "+jalview.bin.Cache.VERSION+"; Last updated: "+jalview.bin.Cache.BUILD_DATE, 180,yoffset);\r
+    g.setFont( new Font("Verdana", Font.BOLD, fontSize));\r
+    g.drawString("Authors: Michele Clamp, James Cuff, Steve Searle, Andrew Waterhouse, Jim Procter & Geoff Barton.",50,yoffset+20);\r
+    g.drawString("Current development managed by Andrew Waterhouse; Barton Group, University of Dundee.",50,yoffset+24+fontSize);\r
+    g.drawString("If  you use JalView, please cite: Clamp, M., Cuff, J., Searle, S. M. and Barton, G. J. (2004),",50,yoffset+28+fontSize*2);\r
+    g.drawString("\"The Jalview Java Alignment Editor\" Bioinformatics,  2004 12;426-7.",50,yoffset+32+fontSize*3);\r
 \r
   }\r
 \r