19 package org.sleuthkit.autopsy.casemodule.datasourcesummary;
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;
45 @Messages({
"ViewSummaryInformationAction.name.text=View Summary Information"})
47 super(Bundle.ViewSummaryInformationAction_name_text());
48 selectDataSource = selectedDataSource;
53 SwingUtilities.invokeLater(() -> {
54 Frame mainWindow = WindowManager.getDefault().getMainWindow();
55 dataSourceSummaryDialog =
new DataSourceSummaryDialog(mainWindow);
57 dataSourceSummaryDialog.enableObserver();
59 dataSourceSummaryDialog.selectDataSource(selectDataSource);
60 dataSourceSummaryDialog.setResizable(
true);
61 dataSourceSummaryDialog.setLocationRelativeTo(mainWindow);
62 dataSourceSummaryDialog.setVisible(
true);
63 dataSourceSummaryDialog.toFront();