Allow gui scaling
This commit is contained in:
parent
5d471881fb
commit
689e6e2b2b
@ -0,0 +1,3 @@
|
|||||||
|
Manifest-Version: 1.0
|
||||||
|
Main-Class: net.knarcraft.serverlauncher.Main
|
||||||
|
|
@ -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")));
|
||||||
|
Loading…
Reference in New Issue
Block a user