diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/upload/awt/FileDropper.java b/src/hdskins/java/com/voxelmodpack/hdskins/upload/awt/FileDropper.java index 7bd7d65a..8c37a5a1 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/upload/awt/FileDropper.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/upload/awt/FileDropper.java @@ -1,5 +1,7 @@ package com.voxelmodpack.hdskins.upload.awt; +import org.lwjgl.opengl.Display; + import java.awt.Color; import java.awt.dnd.DropTarget; import java.awt.dnd.DropTargetListener; @@ -12,8 +14,6 @@ import javax.swing.JPanel; import javax.swing.JRootPane; import javax.swing.SwingConstants; -import org.lwjgl.opengl.Display; - public class FileDropper extends JFrame { private static final long serialVersionUID = -2945117328826695659L; @@ -33,7 +33,7 @@ public class FileDropper extends JFrame { super("Skin Drop"); setType(Type.UTILITY); - setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); + setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE); setResizable(false); setTitle("Skin Drop"); setSize(256, 256);