Removed non necessary constructors.

This commit is contained in:
MobiusDev
2019-02-20 17:45:59 +00:00
parent 0de6a33d43
commit dcb4e9db7b
15 changed files with 49 additions and 49 deletions

View File

@@ -33,6 +33,7 @@ import javax.swing.JPasswordField;
import javax.swing.JTextField;
import javax.swing.SpringLayout;
import javax.swing.SwingConstants;
import javax.swing.WindowConstants;
import com.l2jmobius.commons.util.SplashScreen;
import com.l2jmobius.tools.dbinstaller.RunTasks;
@@ -82,7 +83,7 @@ public class DBConfigGUI extends JFrame
final int height = 220;
final Dimension resolution = Toolkit.getDefaultToolkit().getScreenSize();
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
setBounds((resolution.width - width) / 2, (resolution.height - height) / 2, width, height);
setResizable(false);

View File

@@ -30,6 +30,7 @@ import javax.swing.JOptionPane;
import javax.swing.JProgressBar;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.WindowConstants;
import com.l2jmobius.tools.dbinstaller.DBOutputInterface;
@@ -62,7 +63,7 @@ public class DBInstallerGUI extends JFrame implements DBOutputInterface
final int height = 360;
final Dimension resolution = Toolkit.getDefaultToolkit().getScreenSize();
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
setBounds((resolution.width - width) / 2, (resolution.height - height) / 2, width, height);
setResizable(false);