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;
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);
56 dataSourceSummaryDialog.populatePanel(selectDataSource);
57 dataSourceSummaryDialog.setResizable(
true);
58 dataSourceSummaryDialog.setLocationRelativeTo(mainWindow);
59 dataSourceSummaryDialog.setVisible(
true);
60 dataSourceSummaryDialog.toFront();