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