19 package org.sleuthkit.autopsy.casemodule;
21 import org.openide.util.NbBundle;
22 import java.awt.BorderLayout;
23 import javax.swing.JPanel;
29 @SuppressWarnings(
"PMD.SingularField")
30 class AddImageWizardIngestConfigVisual extends JPanel {
32 private final JPanel ingestPanel;
38 public AddImageWizardIngestConfigVisual(JPanel ingestPanel) {
39 this.ingestPanel = ingestPanel;
41 customizeComponents();
44 private void customizeComponents() {
45 configPanel.setLayout(
new BorderLayout());
46 configPanel.add(ingestPanel, BorderLayout.CENTER);
55 public String getName() {
56 return NbBundle.getMessage(this.getClass(),
"AddImageWizardIngestConfigVisual.getName.text");
64 @SuppressWarnings(
"unchecked")
66 private
void initComponents() {
68 configPanel =
new javax.swing.JPanel();
70 setPreferredSize(
new java.awt.Dimension(569, 300));
72 configPanel.setPreferredSize(
new java.awt.Dimension(569, 400));
74 javax.swing.GroupLayout configPanelLayout =
new javax.swing.GroupLayout(configPanel);
75 configPanel.setLayout(configPanelLayout);
76 configPanelLayout.setHorizontalGroup(
77 configPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
78 .addGap(0, 609, Short.MAX_VALUE)
80 configPanelLayout.setVerticalGroup(
81 configPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
82 .addGap(0, 349, Short.MAX_VALUE)
85 javax.swing.GroupLayout layout =
new javax.swing.GroupLayout(
this);
86 this.setLayout(layout);
87 layout.setHorizontalGroup(
88 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
89 .addGroup(layout.createSequentialGroup()
90 .addComponent(configPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 609, javax.swing.GroupLayout.PREFERRED_SIZE)
91 .addGap(0, 0, Short.MAX_VALUE))
93 layout.setVerticalGroup(
94 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
95 .addComponent(configPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE)
99 private javax.swing.JPanel configPanel;