Mercurial > hg > release > heapstats-1.1
changeset 14:229309c835e7
Bug 1691: Update HeapStats logos
reviewed-by: ykubota
author | Yasumasa Suenaga <suenaga.yasumasa@lab.ntt.co.jp> |
---|---|
date | Mon, 03 Mar 2014 18:11:53 +0900 |
parents | 87dbb2865c68 |
children | 6c73e9d7876c |
files | agent/ChangeLog analyzer/build.xml analyzer/src/heapstats-icon.png analyzer/src/heapstats-logo.png analyzer/src/heapstats.png analyzer/src/jp/co/ntt/oss/heapstats/gui/GUIMain.java |
diffstat | 6 files changed, 13 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/agent/ChangeLog Fri Jan 31 11:40:52 2014 +0900 +++ b/agent/ChangeLog Mon Mar 03 18:11:53 2014 +0900 @@ -1,3 +1,7 @@ +2014-03-03 Yasumasa Suenaga <suenaga.yasumasa@lab.ntt.co.jp> + + * Bug 1691: Update HeapStats logos + 2014-01-31 Yasumasa Suenaga <suenaga.yasumasa@lab.ntt.co.jp> * Bug 1505: [REOPEN] Suppress warning when dead lock detection faild.
--- a/analyzer/build.xml Fri Jan 31 11:40:52 2014 +0900 +++ b/analyzer/build.xml Mon Mar 03 18:11:53 2014 +0900 @@ -20,7 +20,7 @@ <target name="jar" depends="compile"> <jar destfile="heapstats.jar"> - <fileset dir="${src.dir}" includes="heapstats.png" /> + <fileset dir="${src.dir}" includes="heapstats-*.png" /> <fileset dir="${src.dir}" includes="*.properties" /> <zipfileset dir="${build.dir}" /> <manifest>
--- a/analyzer/src/jp/co/ntt/oss/heapstats/gui/GUIMain.java Fri Jan 31 11:40:52 2014 +0900 +++ b/analyzer/src/jp/co/ntt/oss/heapstats/gui/GUIMain.java Mon Mar 03 18:11:53 2014 +0900 @@ -2,7 +2,7 @@ * GUIMain.java * Created on 2011/09/07 * - * Copyright (C) 2011-2013 Nippon Telegraph and Telephone Corporation + * Copyright (C) 2011-2014 Nippon Telegraph and Telephone Corporation * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -92,7 +92,10 @@ private static final long serialVersionUID = -6668360652023124873L; /** The file name of the icon image. */ - private static final String HEAPSTATS_IMAGE = "heapstats.png"; + private static final String HEAPSTATS_ICON = "heapstats-icon.png"; + + /** The file name of the logo image. */ + private static final String HEAPSTATS_LOGO = "heapstats-logo.png"; /** the alpha transparency (must be in the range 0.0f to 1.0f). */ private static final float ALPHA_TRANSPARENCY = 0.7f; @@ -217,7 +220,7 @@ e.printStackTrace(); } - URL url = getClass().getClassLoader().getResource(HEAPSTATS_IMAGE); + URL url = getClass().getClassLoader().getResource(HEAPSTATS_ICON); setIconImage(Toolkit.getDefaultToolkit().createImage(url)); ssDlg = null; @@ -608,7 +611,7 @@ buf.append("General Public License\n"); buf.append(" JGraphX : the Berkeley Software "); buf.append("Distribution License\n\n"); - buf.append(" Copyright (C) 2011-2013 Nippon Telegraph and "); + buf.append(" Copyright (C) 2011-2014 Nippon Telegraph and "); buf.append("Telephone Corporation\n\n"); JLabel title = new JLabel(" HeapStats Analyzer\n\n\n"); @@ -622,7 +625,7 @@ .getString(GuiCommon.VERSION_DIALOG_TITLE), JOptionPane.PLAIN_MESSAGE, new ImageIcon( getClass().getClassLoader() - .getResource(HEAPSTATS_IMAGE))); + .getResource(HEAPSTATS_LOGO))); } else if (eventSource.equals(fileExitBtn)) { // Exit clearOffsets();