1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-28 12:57:07 +01:00

Fixed window icon in FeatureSelectionDialog.

This commit is contained in:
sk89q 2014-01-09 18:11:30 -08:00
parent 73575a2325
commit 016e14415b
2 changed files with 1 additions and 6 deletions

View File

@ -42,8 +42,6 @@ public class FeatureSelectionDialog extends JDialog {
setSize(new Dimension(500, 400));
setResizable(false);
setLocationRelativeTo(owner);
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
}
private void initComponents() {

View File

@ -187,10 +187,7 @@ public class ProgressDialog extends JDialog {
public static ProgressDialog getLastDialog() {
WeakReference<ProgressDialog> ref = lastDialogRef;
if (ref != null) {
ProgressDialog dialog = ref.get();
if (!dialog.isVisible()) {
return dialog;
}
return ref.get();
}
return null;