19 package org.sleuthkit.autopsy.datasourcesummary.ui;
21 import java.awt.Frame;
22 import java.awt.event.ActionEvent;
23 import javax.swing.AbstractAction;
24 import javax.swing.SwingUtilities;
25 import org.openide.util.NbBundle.Messages;
26 import org.openide.windows.WindowManager;
46 @Messages({
"ViewSummaryInformationAction.name.text=View Summary Information"})
48 super(Bundle.ViewSummaryInformationAction_name_text());
49 selectDataSource = selectedDataSource;
54 SwingUtilities.invokeLater(() -> {
55 Frame mainWindow = WindowManager.getDefault().getMainWindow();
56 dataSourceSummaryDialog =
new DataSourceSummaryDialog(mainWindow);
58 dataSourceSummaryDialog.enableObserver();
60 dataSourceSummaryDialog.selectDataSource(selectDataSource);
61 dataSourceSummaryDialog.setResizable(
true);
62 dataSourceSummaryDialog.setLocationRelativeTo(mainWindow);
63 dataSourceSummaryDialog.setVisible(
true);
64 dataSourceSummaryDialog.toFront();