gbcon.weighty = 1.0;
}
typePanel.add(new JLabel(typeLabelStrings[spinnerno]), gbcon);
gbcon.insets = new Insets(2, 2, 2, 2);
gbcon.gridx++;
typeProbeTargetSpinners[spinnerno] = new JComboBox(new
ComboBoxNumberModel(0, 0, GUIConstants.maxTagPositions, 1));
typePanel.add(typeProbeTargetSpinners[spinnerno], gbcon);
gbcon.gridx--;
gbcon.gridy++;
}
//the spacer panel
gbcon.gridx = 0;
gbcon.gridy = 0;
spacerFields = new JTextField[spacerPropertyNames.length];
spacerPanel.setLayout(new GridBagLayout());
spacerUseBox = new JCheckBox(spacerUseString);
spacerUseBox.addActionListener(this);
gbcon.gridwidth = 2;
spacerPanel.add(spacerUseBox, gbcon);
gbcon.gridwidth = 1;
spacerPosSpinner = new JComboBox(new ComboBoxNumberModel(0, 0,
GUIConstants.maxTagPositions, 1));
gbcon.gridy = 1;
spacerPanel.add(new JLabel(spacerPosString), gbcon);
gbcon.gridx = 1;
spacerPanel.add(spacerPosSpinner, gbcon);