diff --git a/src/de/jaujau/gui/GUI.java b/src/de/jaujau/gui/GUI.java index 19c4e0f..477ca22 100644 --- a/src/de/jaujau/gui/GUI.java +++ b/src/de/jaujau/gui/GUI.java @@ -16,8 +16,13 @@ import de.jaujau.spiellogik.Spiel; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; +import java.io.File; +import java.io.IOException; + +import javax.imageio.ImageIO; import javax.swing.BoxLayout; import java.awt.Font; +import java.awt.Toolkit; @@ -38,6 +43,7 @@ public class GUI extends JFrame{ // Constructors // public GUI (Texturenpakete texturenpakete, Spielerverwaltung speicherung) { + setIconImage(Toolkit.getDefaultToolkit().getImage(GUI.class.getResource("/img/jaujau.png"))); setMinimumSize(new Dimension(1000, 600)); // jaujau.getAktuellesSpiel(); @@ -46,6 +52,7 @@ public class GUI extends JFrame{ setPreferredSize(new Dimension(800, 500)); setSize(1565, 916); getContentPane().setLayout(new BorderLayout(0, 0)); + JPanel Menue = new JPanel(); Menue.setPreferredSize(new Dimension(270, 450)); diff --git a/src/de/jaujau/spiellogik/Anwendung.java b/src/de/jaujau/spiellogik/Anwendung.java index 01a43f1..5410449 100644 --- a/src/de/jaujau/spiellogik/Anwendung.java +++ b/src/de/jaujau/spiellogik/Anwendung.java @@ -7,6 +7,8 @@ */ package de.jaujau.spiellogik; +import javax.swing.ImageIcon; + import de.jaujau.daten.Spielerverwaltung; import de.jaujau.daten.Texturenpakete; import de.jaujau.gui.GUI; diff --git a/src/img/jaujau.png b/src/img/jaujau.png new file mode 100644 index 0000000..e966ba0 Binary files /dev/null and b/src/img/jaujau.png differ