From: David ‘Bombe’ Roden Date: Sun, 25 May 2008 13:39:34 +0000 (+0200) Subject: set frame icon X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=10004504d2f24c9ed1627d6b2d4cd2cb4c44e894;p=jSite2.git set frame icon --- diff --git a/resources/jSite-frame-icon.png b/resources/jSite-frame-icon.png new file mode 100644 index 0000000..a355f57 Binary files /dev/null and b/resources/jSite-frame-icon.png differ diff --git a/src/net/pterodactylus/jsite/gui/MainWindow.java b/src/net/pterodactylus/jsite/gui/MainWindow.java index 654f548..4ed06db 100644 --- a/src/net/pterodactylus/jsite/gui/MainWindow.java +++ b/src/net/pterodactylus/jsite/gui/MainWindow.java @@ -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")); } //