Package org.sleuthkit.autopsy.corecomponents

Examples of org.sleuthkit.autopsy.corecomponents.AdvancedConfigurationCleanDialog


    }

    @Override
    public void performAction() {
        final HashDbSearchPanel panel = HashDbSearchPanel.getDefault();
        final AdvancedConfigurationCleanDialog dialog = new AdvancedConfigurationCleanDialog();
        // Set the dialog close button to clear then close the window
        dialog.addWindowListener(new WindowAdapter() {
            @Override
            public void windowClosing(WindowEvent e) {
                panel.clear();
                dialog.close();
            }
        });
        // Have the search button close the window after searching
        panel.addSearchActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                if(panel.search()) {
                    panel.clear();
                    dialog.close();
                }
            }
        });
        // Have the search button close the window after searching
        panel.addCancelActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                panel.clear();
                dialog.close();
            }
        });
        panel.refresh();
        dialog.display(panel);
    }
View Full Code Here

TOP

Related Classes of org.sleuthkit.autopsy.corecomponents.AdvancedConfigurationCleanDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.