set frame icon
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 25 May 2008 13:39:34 +0000 (15:39 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 25 May 2008 13:39:34 +0000 (15:39 +0200)
resources/jSite-frame-icon.png [new file with mode: 0644]
src/net/pterodactylus/jsite/gui/MainWindow.java

diff --git a/resources/jSite-frame-icon.png b/resources/jSite-frame-icon.png
new file mode 100644 (file)
index 0000000..a355f57
Binary files /dev/null and b/resources/jSite-frame-icon.png differ
index 654f548..4ed06db 100644 (file)
@@ -137,6 +137,7 @@ public class MainWindow extends JFrame implements WindowListener, I18nable, Prop
                SwingUtils.center(this);
                I18n.registerI18nable(this);
                addWindowListener(this);
+               setIconImage(IconLoader.loadImage("/jSite-frame-icon.png"));
        }
 
        //