mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-24 12:16:28 +01:00
Fixed window icon in FeatureSelectionDialog.
This commit is contained in:
parent
73575a2325
commit
016e14415b
@ -42,8 +42,6 @@ public class FeatureSelectionDialog extends JDialog {
|
|||||||
setSize(new Dimension(500, 400));
|
setSize(new Dimension(500, 400));
|
||||||
setResizable(false);
|
setResizable(false);
|
||||||
setLocationRelativeTo(owner);
|
setLocationRelativeTo(owner);
|
||||||
|
|
||||||
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initComponents() {
|
private void initComponents() {
|
||||||
|
@ -187,10 +187,7 @@ public class ProgressDialog extends JDialog {
|
|||||||
public static ProgressDialog getLastDialog() {
|
public static ProgressDialog getLastDialog() {
|
||||||
WeakReference<ProgressDialog> ref = lastDialogRef;
|
WeakReference<ProgressDialog> ref = lastDialogRef;
|
||||||
if (ref != null) {
|
if (ref != null) {
|
||||||
ProgressDialog dialog = ref.get();
|
return ref.get();
|
||||||
if (!dialog.isVisible()) {
|
|
||||||
return dialog;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user