25 package org.sleuthkit.autopsy.filesearch;
27 import org.openide.util.NbBundle;
29 import java.awt.event.ActionEvent;
30 import java.awt.event.ActionListener;
31 import javax.swing.JFrame;
32 import org.openide.windows.WindowManager;
37 class FileSearchDialog
extends javax.swing.JDialog {
42 public FileSearchDialog() {
43 super(
new JFrame(NbBundle.getMessage(FileSearchDialog.class,
"FileSearchDialog.frame.title")),
44 NbBundle.getMessage(FileSearchDialog.class,
"FileSearchDialog.frame.msg"),
true);
48 this.setLocationRelativeTo(WindowManager.getDefault().getMainWindow());
49 fileSearchPanel1.addListenerToAll(
new ActionListener() {
52 public void actionPerformed(ActionEvent e) {
63 @SuppressWarnings(
"unchecked")
65 private
void initComponents() {
69 setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
71 javax.swing.GroupLayout layout =
new javax.swing.GroupLayout(getContentPane());
72 getContentPane().setLayout(layout);
73 layout.setHorizontalGroup(
74 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
75 .addComponent(fileSearchPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 338, Short.MAX_VALUE)
77 layout.setVerticalGroup(
78 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
79 .addComponent(fileSearchPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 487, Short.MAX_VALUE)