Allow gui scaling

This commit is contained in:
Kristian Knarvik 2018-02-17 22:06:20 +01:00
parent 5d471881fb
commit 689e6e2b2b
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: net.knarcraft.serverlauncher.Main

View File

@ -131,7 +131,7 @@ public class GUI implements ActionListener {
frame = new JFrame("Minecraft server launcher"); frame = new JFrame("Minecraft server launcher");
frame.setDefaultCloseOperation(DO_NOTHING_ON_CLOSE); frame.setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
frame.setResizable(false); //frame.setResizable(false);
ImageIcon img; ImageIcon img;
try { try {
img = new ImageIcon(ImageIO.read(GUI.class.getResourceAsStream("/files/GUIIcon.png"))); img = new ImageIcon(ImageIO.read(GUI.class.getResourceAsStream("/files/GUIIcon.png")));