From c5fca4c9777bcf66743b028901c3bb092554f0dd Mon Sep 17 00:00:00 2001 From: Matthew Messinger Date: Sun, 22 Jul 2018 15:45:29 -0400 Subject: [PATCH] Hide the file dropper on exit. --- .../com/voxelmodpack/hdskins/upload/awt/FileDropper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);