25 package org.sleuthkit.autopsy.corecomponents;
 
   27 import java.awt.Component;
 
   28 import java.awt.Dimension;
 
   29 import java.awt.Toolkit;
 
   30 import java.awt.event.ActionListener;
 
   31 import javax.swing.JFrame;
 
   32 import javax.swing.JPanel;
 
   33 import org.openide.windows.WindowManager;
 
   52         super((JFrame) WindowManager.getDefault().getMainWindow(), 
true);
 
   53         setResizable(resizable);
 
   55             this.setIconImage(null);
 
   61         this.setTitle(panel.getName());
 
   63         panel.setAlignmentX(Component.CENTER_ALIGNMENT);
 
   68         Dimension screenDimension = Toolkit.getDefaultToolkit().getScreenSize();
 
   70         int w = this.getSize().width;
 
   71         int h = this.getSize().height;
 
   74         setLocation((screenDimension.width - w) / 2, (screenDimension.height - h) / 2);
 
   76         this.setVisible(
true);
 
   84     @SuppressWarnings(
"unchecked")
 
   89         filler1 = 
new javax.swing.Box.Filler(
new java.awt.Dimension(0, 4), 
new java.awt.Dimension(0, 4), 
new java.awt.Dimension(0, 4));
 
   90         jPanel1 = 
new javax.swing.JPanel();
 
   93         filler2 = 
new javax.swing.Box.Filler(
new java.awt.Dimension(0, 4), 
new java.awt.Dimension(0, 4), 
new java.awt.Dimension(0, 4));
 
   95         setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
 
   96         getContentPane().setLayout(
new javax.swing.BoxLayout(getContentPane(), javax.swing.BoxLayout.PAGE_AXIS));
 
  100         jPanel1.setMaximumSize(
new java.awt.Dimension(4000, 27));
 
  101         jPanel1.setMinimumSize(
new java.awt.Dimension(100, 27));
 
  102         jPanel1.setPreferredSize(
new java.awt.Dimension(400, 27));
 
  107         cancelButton.addActionListener(
new java.awt.event.ActionListener() {
 
  108             public void actionPerformed(java.awt.event.ActionEvent evt) {
 
  113         javax.swing.GroupLayout jPanel1Layout = 
new javax.swing.GroupLayout(
jPanel1);
 
  114         jPanel1.setLayout(jPanel1Layout);
 
  115         jPanel1Layout.setHorizontalGroup(
 
  116             jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 
  117             .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
 
  118                 .addContainerGap(242, Short.MAX_VALUE)
 
  119                 .addComponent(
applyButton, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
 
  120                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
 
  121                 .addComponent(
cancelButton, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
 
  124         jPanel1Layout.setVerticalGroup(
 
  125             jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 
  126             .addGroup(jPanel1Layout.createSequentialGroup()
 
  127                 .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
 
  130                 .addGap(0, 4, Short.MAX_VALUE))
 
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)