19 package org.sleuthkit.autopsy.filesearch;
21 import java.awt.event.ActionEvent;
22 import java.awt.event.ActionListener;
23 import javax.swing.JFrame;
24 import org.openide.util.NbBundle;
25 import org.openide.windows.WindowManager;
30 @SuppressWarnings(
"PMD.SingularField")
31 class FileSearchDialog extends javax.swing.JDialog {
36 public FileSearchDialog() {
37 super(
new JFrame(NbBundle.getMessage(FileSearchDialog.class,
"FileSearchDialog.frame.title")),
38 NbBundle.getMessage(FileSearchDialog.class,
"FileSearchDialog.frame.msg"),
true);
42 this.setLocationRelativeTo(WindowManager.getDefault().getMainWindow());
43 fileSearchPanel1.addListenerToAll(
new ActionListener() {
46 public void actionPerformed(ActionEvent e) {
57 @SuppressWarnings(
"unchecked")
59 private
void initComponents() {
63 setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
65 javax.swing.GroupLayout layout =
new javax.swing.GroupLayout(getContentPane());
66 getContentPane().setLayout(layout);
67 layout.setHorizontalGroup(
68 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
69 .addComponent(fileSearchPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 338, Short.MAX_VALUE)
71 layout.setVerticalGroup(
72 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
73 .addComponent(fileSearchPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 487, Short.MAX_VALUE)