changeset 32:a4ee61f4ba79

Bug 1691: Update HeapStats logos reviewed-by: ykubota
author Yasumasa Suenaga <suenaga.yasumasa@lab.ntt.co.jp>
date Mon, 03 Mar 2014 18:11:40 +0900
parents 2fd23c59d3ef
children e99a12f039c6
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:46 2014 +0900
+++ b/agent/ChangeLog	Mon Mar 03 18:11:40 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:46 2014 +0900
+++ b/analyzer/build.xml	Mon Mar 03 18:11:40 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>
Binary file analyzer/src/heapstats-icon.png has changed
Binary file analyzer/src/heapstats-logo.png has changed
Binary file analyzer/src/heapstats.png has changed
--- a/analyzer/src/jp/co/ntt/oss/heapstats/gui/GUIMain.java	Fri Jan 31 11:40:46 2014 +0900
+++ b/analyzer/src/jp/co/ntt/oss/heapstats/gui/GUIMain.java	Mon Mar 03 18:11:40 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;
@@ -208,7 +211,7 @@
             e.printStackTrace();
         }
 
-        URL url = getClass().getClassLoader().getResource(HEAPSTATS_IMAGE);
+        URL url = getClass().getClassLoader().getResource(HEAPSTATS_ICON);
         setIconImage(Toolkit.getDefaultToolkit().createImage(url));
 
         ssDlg = null;
@@ -585,7 +588,7 @@
                 buf.append("HeapStats is licensed under the GNU General Public License version 2.\n\n");
                 buf.append("about:license\n");
                 buf.append("  JFreeChart  :  the GNU Lesser General Public 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");
@@ -599,7 +602,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();