Merge branch 'develop' of github.com:sleuthkit/autopsy into 7460-getAddr

This commit is contained in:
Greg DiCristofaro 2021-03-29 11:51:58 -04:00
commit f5955bd424

View File

@ -37,11 +37,8 @@ class SolrNotConfiguredDialog extends javax.swing.JDialog {
SolrNotConfiguredDialog() { SolrNotConfiguredDialog() {
super((JFrame) WindowManager.getDefault().getMainWindow(), true); super((JFrame) WindowManager.getDefault().getMainWindow(), true);
// Center the startup window. // Center the startup window.
Dimension screenDimension = Toolkit.getDefaultToolkit().getScreenSize();
int width = getSize().width;
int height = getSize().height;
setLocation((screenDimension.width - width) / 2, (screenDimension.height - height) / 2);
initComponents(); initComponents();
setLocationRelativeTo(WindowManager.getDefault().getMainWindow());
setIconImage(ImageUtilities.loadImage("org/sleuthkit/autopsy/images/warning16.png", false)); setIconImage(ImageUtilities.loadImage("org/sleuthkit/autopsy/images/warning16.png", false));
} }