panel.add(field, BorderLayout.CENTER);
return panel;
}
private JPanel getParameterMaskPanel() {
HorizontalPanel panel = new HorizontalPanel(10, HorizontalPanel.TOP_ALIGNMENT);
panel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
JMeterUtils.getResString("html_parameter_mask"))); //$NON-NLS-1$
_fieldName = new JTextField(10);
_fieldName.setName(NAME);
panel.add(createLabeledField("name", _fieldName)); //$NON-NLS-1$ resource name
_prefix = new JTextField(5);
_prefix.setName(PREFIX);
panel.add(createLabeledField("id_prefix", _prefix)); //$NON-NLS-1$ resource name
_lowerBound = new JTextField(ZERO, 5);
_lowerBound.addFocusListener(this);
_lowerBound.setName(LOWERBOUND);
panel.add(createLabeledField("lower_bound", _lowerBound)); //$NON-NLS-1$ resource name
_upperBound = new JTextField("10", 5);
_upperBound.addFocusListener(this);
_upperBound.setName(UPPERBOUND);
panel.add(createLabeledField("upper_bound", _upperBound)); //$NON-NLS-1$ resource name
_increment = new JTextField("1", 3);
_increment.addFocusListener(this);
_increment.setName(INCREMENT);
panel.add(createLabeledField("increment", _increment)); //$NON-NLS-1$ resource name
_suffix = new JTextField(5);
_suffix.setName(SUFFIX);
panel.add(createLabeledField("id_suffix", _suffix)); //$NON-NLS-1$ resource name
JPanel mainPanel = new JPanel(new BorderLayout());
mainPanel.add(panel, BorderLayout.NORTH);
return mainPanel;
}