From 1303e926afe9f3beeae52f1cc8ca854b68cc53b7 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 16 Mar 2005 14:52:21 +0000 Subject: [PATCH] smaller splashscreen --- src/jalview/gui/SplashScreen.java | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/jalview/gui/SplashScreen.java b/src/jalview/gui/SplashScreen.java index f013dc4..a54a36f 100755 --- a/src/jalview/gui/SplashScreen.java +++ b/src/jalview/gui/SplashScreen.java @@ -59,21 +59,22 @@ public class SplashScreen extends JPanel implements Runnable } - + int fontSize = 11; + int yoffset = 30; public void paintComponent(Graphics g) { g.setColor(Color.white); g.fillRect(0,0,getWidth(),getHeight()); g.setColor(Color.black); - g.setFont( new Font("Verdana", Font.BOLD, 18)); + g.setFont( new Font("Verdana", Font.BOLD, fontSize+4)); if(image!=null) - g.drawImage(image, 5,60,this); - g.drawString("JalView 2005", 50,50); - g.setFont( new Font("Verdana", Font.BOLD, 14)); - g.drawString("Authors: Michele Clamp, James Cuff, Steve Searle, Andrew Waterhouse, Jim Procter & Geoff Barton.",50,70); - g.drawString("Current development managed by Andrew Waterhouse; Barton Group, University of Dundee.",50,90); - g.drawString("If you use JalView, please cite:",50,110); - g.drawString("\"Clamp, M., Cuff, J., Searle, S. M. and Barton, G. J. (2004), The Jalview Java Alignment Editor\"",50,130); + g.drawImage(image, 5,yoffset+10,this); + g.drawString("JalView 2005", 50,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); + g.drawString("If you use JalView, please cite:",50,yoffset+20+fontSize*2); + g.drawString("\"Clamp, M., Cuff, J., Searle, S. M. and Barton, G. J. (2004), The Jalview Java Alignment Editor\"",50,yoffset+20+fontSize*3); } -- 1.7.10.2