summaryrefslogtreecommitdiffstats
path: root/dozentenmodul
diff options
context:
space:
mode:
Diffstat (limited to 'dozentenmodul')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/MainWindow.java4
-rw-r--r--dozentenmodul/src/main/resources/img/bwlp-icon.pngbin0 -> 1132 bytes
2 files changed, 4 insertions, 0 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/MainWindow.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/MainWindow.java
index e481ecd1..24b0cb01 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/MainWindow.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/MainWindow.java
@@ -20,6 +20,7 @@ import java.util.concurrent.TimeUnit;
import javax.swing.Box;
import javax.swing.BoxLayout;
+import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
@@ -215,6 +216,9 @@ public abstract class MainWindow {
// Scale the ui with the font.
mainWindow.setMinimumSize(Gui.getScaledDimension(1050, 670));
+ // set icon for the window
+ mainWindow.setIconImage(new ImageIcon(MainWindow.class.getResource("/img/bwlp-icon.png")).getImage());
+
// register all pages of the main window
registerPage(new MainMenuWindow());
registerPage(new ImageListWindow());
diff --git a/dozentenmodul/src/main/resources/img/bwlp-icon.png b/dozentenmodul/src/main/resources/img/bwlp-icon.png
new file mode 100644
index 00000000..9504eade
--- /dev/null
+++ b/dozentenmodul/src/main/resources/img/bwlp-icon.png
Binary files differ