message.append("<html>");
if (shortv)
{
- message.append("<h1><strong>Jalview "
+ message.append("<h1><strong>Version: "
+ jalview.bin.Cache.getProperty("VERSION")
+ "</strong></h1><br>");
message.append("<strong>Last Updated: <em>"
else
{
- message.append("<strong>Jalview version "
+ message.append("<strong>Version "
+ jalview.bin.Cache.getProperty("VERSION")
+ "; last updated: "
+ jalview.bin.Cache.getDefault("BUILD_DATE", "unknown"));
message.append("<div style=\"color: #FF0000;font-style: bold;\">");
}
- message.append("<br>!! Jalview version "
+ message.append("<br>!! Version "
+ jalview.bin.Cache.getDefault("LATEST_VERSION",
"..Checking..")
+ " is available for download from "
"AUTHORNAMES",
"Jim Procter, Andrew Waterhouse, Jan Engelhardt, Lauren Lui, Michele Clamp, James Cuff, Steve Searle, David Martin & Geoff Barton")
+ "<br>Development managed by The Barton Group, University of Dundee, Scotland, UK.<br>"
- + "<br>For help, see the FAQ at www.jalview.org and/or join the jalview-discuss@jalview.org mailing list"
+ + "<br>For help, see the FAQ at <a href=\"http://www.jalview.org\">www.jalview.org</a> and/or join the jalview-discuss@jalview.org mailing list"
+ "<br>If you use Jalview, please cite:"
+ "<br>Waterhouse, A.M., Procter, J.B., Martin, D.M.A, Clamp, M. and Barton, G. J. (2009)"
+ "<br>Jalview Version 2 - a multiple sequence alignment editor and analysis workbench"
addMouseListener(closer);
try
{
- java.net.URL url = getClass().getResource("/images/logo.gif");
+ java.net.URL url = getClass().getResource("/images/logo_v2.jpeg");
if (url != null)
{
Desktop.desktop.add(iframe);
SplashImage splashimg = new SplashImage(image);
iconimg.add(splashimg, BorderLayout.CENTER);
- add(iconimg, BorderLayout.WEST);
+ add(iconimg, BorderLayout.NORTH);
add(authlist, BorderLayout.CENTER);
authlist.setEditable(false);
authlist.addMouseListener(closer);
protected boolean refreshText()
{
String newtext = Desktop.instance.getAboutMessage(true).toString();
- System.err.println("Text found: \n"+newtext+"\nEnd of newtext.");
+ //System.err.println("Text found: \n"+newtext+"\nEnd of newtext.");
if (oldtext != newtext.length())
{
iframe.setVisible(false);
iframe.setBounds((int) ((Desktop.instance.getWidth() - 750) / 2),
(int) ((Desktop.instance.getHeight() - 160) / 2), 750,
iframe.getPreferredSize().height);
- System.err.println("New preferred size: "+iframe.getPreferredSize().height);
+ //System.err.println("New preferred size: "+iframe.getPreferredSize().height);
return true;
}
if (image != null)
{
- g.drawImage(image, 4, (getHeight() - image.getHeight(this)) / 2,
+ g.drawImage(image, (getWidth() - image.getWidth(this)) / 2, (getHeight() - image.getHeight(this)) / 2,
this);
}
}