From 689e6e2b2b4b23ddecac05514ed82089c550987e Mon Sep 17 00:00:00 2001 From: Kristian Knarvik Date: Sat, 17 Feb 2018 22:06:20 +0100 Subject: [PATCH] Allow gui scaling --- out/production/Minecraft-Server-Launcher/META-INF/MANIFEST.MF | 3 +++ src/net/knarcraft/serverlauncher/userinterface/GUI.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 out/production/Minecraft-Server-Launcher/META-INF/MANIFEST.MF diff --git a/out/production/Minecraft-Server-Launcher/META-INF/MANIFEST.MF b/out/production/Minecraft-Server-Launcher/META-INF/MANIFEST.MF new file mode 100644 index 0000000..6fe61c6 --- /dev/null +++ b/out/production/Minecraft-Server-Launcher/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Main-Class: net.knarcraft.serverlauncher.Main + diff --git a/src/net/knarcraft/serverlauncher/userinterface/GUI.java b/src/net/knarcraft/serverlauncher/userinterface/GUI.java index 0052951..2c1f7e5 100644 --- a/src/net/knarcraft/serverlauncher/userinterface/GUI.java +++ b/src/net/knarcraft/serverlauncher/userinterface/GUI.java @@ -131,7 +131,7 @@ public class GUI implements ActionListener { frame = new JFrame("Minecraft server launcher"); frame.setDefaultCloseOperation(DO_NOTHING_ON_CLOSE); - frame.setResizable(false); + //frame.setResizable(false); ImageIcon img; try { img = new ImageIcon(ImageIO.read(GUI.class.getResourceAsStream("/files/GUIIcon.png")));