19 package org.sleuthkit.autopsy.casemodule;
21 import org.openide.util.NbBundle;
22 import java.awt.BorderLayout;
23 import javax.swing.JPanel;
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.setBorder(javax.swing.BorderFactory.createLineBorder(
new java.awt.Color(0, 0, 0)));
46 configPanel.setLayout(
new BorderLayout());
47 configPanel.add(ingestPanel, BorderLayout.CENTER);
56 public String getName() {
57 return NbBundle.getMessage(this.getClass(),
"AddImageWizardIngestConfigVisual.getName.text");
65 @SuppressWarnings(
"unchecked")
67 private
void initComponents() {
69 subtitleLabel =
new javax.swing.JLabel();
70 configPanel =
new javax.swing.JPanel();
72 setPreferredSize(
new java.awt.Dimension(569, 300));
74 subtitleLabel.setText(
org.openide.util.NbBundle.getMessage(AddImageWizardIngestConfigVisual.class,
"AddImageWizardIngestConfigVisual.subtitleLabel.text"));
76 configPanel.setPreferredSize(
new java.awt.Dimension(569, 400));
78 javax.swing.GroupLayout configPanelLayout =
new javax.swing.GroupLayout(configPanel);
79 configPanel.setLayout(configPanelLayout);
80 configPanelLayout.setHorizontalGroup(
81 configPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
82 .addGap(0, 569, Short.MAX_VALUE)
84 configPanelLayout.setVerticalGroup(
85 configPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
86 .addGap(0, 258, Short.MAX_VALUE)
89 javax.swing.GroupLayout layout =
new javax.swing.GroupLayout(
this);
90 this.setLayout(layout);
91 layout.setHorizontalGroup(
92 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
93 .addGroup(layout.createSequentialGroup()
95 .addComponent(subtitleLabel)
96 .addContainerGap(218, Short.MAX_VALUE))
97 .addComponent(configPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
99 layout.setVerticalGroup(
100 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
101 .addGroup(layout.createSequentialGroup()
103 .addComponent(subtitleLabel)
104 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
105 .addComponent(configPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 258, Short.MAX_VALUE)
110 private javax.swing.JPanel configPanel;
111 private javax.swing.JLabel subtitleLabel;