version and last modified added
authoramwaterhouse <Andrew Waterhouse>
Thu, 17 Mar 2005 15:08:48 +0000 (15:08 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 17 Mar 2005 15:08:48 +0000 (15:08 +0000)
src/jalview/gui/Desktop.java
src/jalview/gui/SplashScreen.java

index eaa2c5e..fdd5f68 100755 (executable)
@@ -28,7 +28,7 @@ public class Desktop extends jalview.jbgui.GDesktop
   {\r
     Image image =null;\r
     try{\r
-      java.net.URL url = getClass().getResource("/images/BartonGroupBanner.gif");\r
+      java.net.URL url = getClass().getResource("/images/logo.gif");\r
       if(url!=null)\r
       {\r
         image = java.awt.Toolkit.getDefaultToolkit().createImage(url);\r
@@ -119,6 +119,7 @@ public void windowClosing(WindowEvent evt)
    frame.setClosable(true);\r
    frame.setMaximizable(true);\r
    frame.setIconifiable(true);\r
+   frame.setFrameIcon(null);\r
    frame.setLocation(xOffset*openFrameCount, yOffset*openFrameCount);\r
    frame.toFront();\r
    final JMenuItem menuItem = new JMenuItem(title);\r
@@ -256,7 +257,7 @@ public void windowClosing(WindowEvent evt)
  public void aboutMenuItem_actionPerformed(ActionEvent e)\r
  {\r
    JOptionPane.showInternalMessageDialog(Desktop.desktop,\r
-                                         "JalView 2005"\r
+                                         "JalView 2005 version " + jalview.bin.Cache.VERSION+"; last updated: "+jalview.bin.Cache.BUILD_DATE\r
                                        +"\nAuthors:  Michele Clamp, James Cuff, Steve Searle, Andrew Waterhouse, Jim Procter & Geoff Barton."\r
                                        +"\nCurrent development managed by Andrew Waterhouse; Barton Group, University of Dundee."\r
                                        +"\nIf  you use JalView, please cite:  \"Clamp, M., Cuff, J., Searle, S. M. and Barton, G. J. (2004), The Jalview Java Alignment Editor\"",\r
index a54a36f..38841de 100755 (executable)
@@ -66,10 +66,12 @@ public class SplashScreen extends JPanel implements Runnable
     g.setColor(Color.white);\r
     g.fillRect(0,0,getWidth(),getHeight());\r
     g.setColor(Color.black);\r
-    g.setFont( new Font("Verdana", Font.BOLD, fontSize+4));\r
+    g.setFont( new Font("Verdana", Font.BOLD, fontSize+6));\r
     if(image!=null)\r
-    g.drawImage(image, 5,yoffset+10,this);\r
-    g.drawString("JalView 2005", 50,yoffset);\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+20+fontSize);\r