mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Merge branch 'develop' of github.com:sleuthkit/autopsy into 7460-getAddr
This commit is contained in:
commit
f5955bd424
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user