From ae1766b72c2d4a32f513af1a37c53bd44b0c3c29 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 17 Mar 2005 15:08:48 +0000 Subject: [PATCH] version and last modified added --- src/jalview/gui/Desktop.java | 5 +++-- src/jalview/gui/SplashScreen.java | 8 +++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index eaa2c5e..fdd5f68 100755 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -28,7 +28,7 @@ public class Desktop extends jalview.jbgui.GDesktop { Image image =null; try{ - java.net.URL url = getClass().getResource("/images/BartonGroupBanner.gif"); + java.net.URL url = getClass().getResource("/images/logo.gif"); if(url!=null) { image = java.awt.Toolkit.getDefaultToolkit().createImage(url); @@ -119,6 +119,7 @@ public void windowClosing(WindowEvent evt) frame.setClosable(true); frame.setMaximizable(true); frame.setIconifiable(true); + frame.setFrameIcon(null); frame.setLocation(xOffset*openFrameCount, yOffset*openFrameCount); frame.toFront(); final JMenuItem menuItem = new JMenuItem(title); @@ -256,7 +257,7 @@ public void windowClosing(WindowEvent evt) public void aboutMenuItem_actionPerformed(ActionEvent e) { JOptionPane.showInternalMessageDialog(Desktop.desktop, - "JalView 2005" + "JalView 2005 version " + jalview.bin.Cache.VERSION+"; last updated: "+jalview.bin.Cache.BUILD_DATE +"\nAuthors: Michele Clamp, James Cuff, Steve Searle, Andrew Waterhouse, Jim Procter & Geoff Barton." +"\nCurrent development managed by Andrew Waterhouse; Barton Group, University of Dundee." +"\nIf you use JalView, please cite: \"Clamp, M., Cuff, J., Searle, S. M. and Barton, G. J. (2004), The Jalview Java Alignment Editor\"", diff --git a/src/jalview/gui/SplashScreen.java b/src/jalview/gui/SplashScreen.java index a54a36f..38841de 100755 --- a/src/jalview/gui/SplashScreen.java +++ b/src/jalview/gui/SplashScreen.java @@ -66,10 +66,12 @@ public class SplashScreen extends JPanel implements Runnable g.setColor(Color.white); g.fillRect(0,0,getWidth(),getHeight()); g.setColor(Color.black); - g.setFont( new Font("Verdana", Font.BOLD, fontSize+4)); + g.setFont( new Font("Verdana", Font.BOLD, fontSize+6)); if(image!=null) - g.drawImage(image, 5,yoffset+10,this); - g.drawString("JalView 2005", 50,yoffset); + g.drawImage(image, 5,yoffset+12,this); + g.drawString("JalView 2005 ", 50,yoffset); + g.setFont( new Font("Verdana", Font.BOLD, fontSize+2)); + g.drawString("Version "+jalview.bin.Cache.VERSION+"; Last updated: "+jalview.bin.Cache.BUILD_DATE, 180,yoffset); g.setFont( new Font("Verdana", Font.BOLD, fontSize)); g.drawString("Authors: Michele Clamp, James Cuff, Steve Searle, Andrew Waterhouse, Jim Procter & Geoff Barton.",50,yoffset+20); g.drawString("Current development managed by Andrew Waterhouse; Barton Group, University of Dundee.",50,yoffset+20+fontSize); -- 1.7.10.2