fix: removes "alwaysOnTop" property for dialogs so that they are not on top of other applications in windows.

This commit is contained in:
lantzelot-swe 2021-04-13 22:05:22 +02:00
parent dff20f56a5
commit 6b682b099a
8 changed files with 0 additions and 8 deletions

View File

@ -20,7 +20,6 @@ public class DeleteProgressDialog extends JDialog
public DeleteProgressDialog(Frame frame)
{
super(frame, "Deleting", true);
setAlwaysOnTop(true);
setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
setResizable(false);
GridBagLayout gridBagLayout = new GridBagLayout();

View File

@ -16,7 +16,6 @@ public class ConvertProgressDialog extends JDialog
super(frame, "Convert screenshots", true);
this.add(getConvertProgressPanel());
setSize(900, 600);
setAlwaysOnTop(true);
setLocationRelativeTo(frame);
setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
}

View File

@ -15,7 +15,6 @@ public class BackupProgressDialog extends JDialog
super(frame,"Backup database", true);
this.add(getExportProgressPanel());
setSize(900, 600);
setAlwaysOnTop(true);
setLocationRelativeTo(frame);
}

View File

@ -15,7 +15,6 @@ public class RestoreProgressDialog extends JDialog
super(frame,"Restore backup", true);
this.add(getExportProgressPanel());
setSize(900, 600);
setAlwaysOnTop(true);
setLocationRelativeTo(frame);
}

View File

@ -16,7 +16,6 @@ public class ExportProgressDialog extends JDialog
super(frame,"Export games", true);
this.add(getExportProgressPanel());
setSize(900, 600);
setAlwaysOnTop(true);
setLocationRelativeTo(frame);
setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
}

View File

@ -18,7 +18,6 @@ public class ImportProgressDialog extends JDialog
super(frame,"Import games", true);
this.add(getImportProgressPanel());
setSize(900, 600);
setAlwaysOnTop(true);
setLocationRelativeTo(frame);
setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
}

View File

@ -20,7 +20,6 @@ public class ScraperProgressDialog extends JDialog
public ScraperProgressDialog(Frame frame)
{
super(frame,"Scraping", true);
setAlwaysOnTop(true);
setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
setResizable(false);
GridBagLayout gridBagLayout = new GridBagLayout();

View File

@ -19,7 +19,6 @@ public class TranslationProgressDialog extends JDialog
public TranslationProgressDialog(Frame frame)
{
super(frame, "Translating", true);
setAlwaysOnTop(true);
setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
setResizable(false);
GridBagLayout gridBagLayout = new GridBagLayout();