ui: center fatal error dialog on screen
This commit is contained in:
@@ -161,6 +161,7 @@ public class FatalErrorDialog extends JDialog
|
|||||||
addButton("Exit", () -> System.exit(-1));
|
addButton("Exit", () -> System.exit(-1));
|
||||||
|
|
||||||
pack();
|
pack();
|
||||||
|
setLocationRelativeTo(null);
|
||||||
SplashScreen.stop();
|
SplashScreen.stop();
|
||||||
setVisible(true);
|
setVisible(true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user