19 package org.sleuthkit.autopsy.corecomponents;
 
   21 import java.awt.Component;
 
   22 import java.awt.event.ActionListener;
 
   23 import javax.swing.JFrame;
 
   24 import javax.swing.JPanel;
 
   25 import org.openide.windows.WindowManager;
 
   30 @SuppressWarnings(
"PMD.SingularField") 
 
   46         super((JFrame) WindowManager.getDefault().getMainWindow(), 
true);
 
   47         setResizable(resizable);
 
   49             this.setIconImage(null);
 
   55         this.setTitle(panel.getName());
 
   57         panel.setAlignmentX(Component.CENTER_ALIGNMENT);
 
   61         this.setLocationRelativeTo(WindowManager.getDefault().getMainWindow());
 
   62         this.setVisible(
true);
 
   70     @SuppressWarnings(
"unchecked")
 
   72     private 
void initComponents() {
 
   74         jSeparator1 = 
new javax.swing.JSeparator();
 
   75         filler1 = 
new javax.swing.Box.Filler(
new java.awt.Dimension(0, 4), 
new java.awt.Dimension(0, 4), 
new java.awt.Dimension(0, 4));
 
   76         jPanel1 = 
new javax.swing.JPanel();
 
   77         applyButton = 
new javax.swing.JButton();
 
   78         cancelButton = 
new javax.swing.JButton();
 
   79         filler2 = 
new javax.swing.Box.Filler(
new java.awt.Dimension(0, 4), 
new java.awt.Dimension(0, 4), 
new java.awt.Dimension(0, 4));
 
   81         setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
 
   82         getContentPane().setLayout(
new javax.swing.BoxLayout(getContentPane(), javax.swing.BoxLayout.PAGE_AXIS));
 
   83         getContentPane().add(jSeparator1);
 
   84         getContentPane().add(filler1);
 
   86         jPanel1.setMaximumSize(
new java.awt.Dimension(4000, 27));
 
   87         jPanel1.setMinimumSize(
new java.awt.Dimension(100, 27));
 
   88         jPanel1.setPreferredSize(
new java.awt.Dimension(400, 27));
 
   93         cancelButton.addActionListener(
new java.awt.event.ActionListener() {
 
   94             public void actionPerformed(java.awt.event.ActionEvent evt) {
 
   95                 cancelButtonActionPerformed(evt);
 
   99         javax.swing.GroupLayout jPanel1Layout = 
new javax.swing.GroupLayout(jPanel1);
 
  100         jPanel1.setLayout(jPanel1Layout);
 
  101         jPanel1Layout.setHorizontalGroup(
 
  102             jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 
  103             .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
 
  104                 .addContainerGap(242, Short.MAX_VALUE)
 
  105                 .addComponent(applyButton, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
 
  106                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
 
  107                 .addComponent(cancelButton, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
 
  110         jPanel1Layout.setVerticalGroup(
 
  111             jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 
  112             .addGroup(jPanel1Layout.createSequentialGroup()
 
  113                 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
 
  114                     .addComponent(applyButton)
 
  115                     .addComponent(cancelButton))
 
  116                 .addGap(0, 4, Short.MAX_VALUE))
 
  119         getContentPane().add(jPanel1);
 
  120         getContentPane().add(filler2);
 
  139         this.applyButton.addActionListener(l);
 
void display(JPanel panel)
javax.swing.JPanel jPanel1
javax.swing.Box.Filler filler1
javax.swing.Box.Filler filler2
void addApplyButtonListener(ActionListener l)
javax.swing.JButton applyButton
AdvancedConfigurationDialog()
void cancelButtonActionPerformed(java.awt.event.ActionEvent evt)
javax.swing.JButton cancelButton
javax.swing.JSeparator jSeparator1
AdvancedConfigurationDialog(boolean resizable)