diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/MonopolyApp.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/MonopolyApp.java index c165269..8425a0c 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/MonopolyApp.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/MonopolyApp.java @@ -15,6 +15,9 @@ import java.lang.System.Logger.Level; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.logging.LogManager; +import java.awt.Image; + +import javax.imageio.ImageIO; import com.jme3.app.DebugKeysAppState; import com.jme3.app.SimpleApplication; @@ -169,6 +172,12 @@ public class MonopolyApp extends SimpleApplication implements MonopolyClient, Ga private AppSettings makeSettings() { final AppSettings settings = new AppSettings(true); settings.setTitle(lookup("monopoly.name")); + try { + settings.setIcons(new Image[]{ImageIO.read(new File("src/main/resources/icons/Uniman.png"))}); + } + catch (IOException e) { + LOGGER.log(Level.ERROR, e.getMessage()); + } settings.setResolution(config.getResolutionWidth(), config.getResolutionHeight()); settings.setFullscreen(config.fullScreen()); settings.setUseRetinaFrameBuffer(config.useRetinaFrameBuffer()); diff --git a/Projekte/monopoly/client/src/main/resources/icons/Uniman.png b/Projekte/monopoly/client/src/main/resources/icons/Uniman.png index 2da66f8..69fd013 100644 Binary files a/Projekte/monopoly/client/src/main/resources/icons/Uniman.png and b/Projekte/monopoly/client/src/main/resources/icons/Uniman.png differ diff --git a/Projekte/monopoly/client/src/main/resources/icons/uniman.ico b/Projekte/monopoly/client/src/main/resources/icons/uniman.ico deleted file mode 100644 index ff2b0e2..0000000 Binary files a/Projekte/monopoly/client/src/main/resources/icons/uniman.ico and /dev/null differ