use of org.apache.jmeter.gui.util.TristateCheckBox in project jmeter by apache.
the class TCPConfigGui method createNoDelayPanel.
private JPanel createNoDelayPanel() {
// $NON-NLS-1$
JLabel label = new JLabel(JMeterUtils.getResString("tcp_nodelay"));
setNoDelay = new TristateCheckBox();
label.setLabelFor(setNoDelay);
JPanel nodelayPanel = new JPanel(new FlowLayout());
nodelayPanel.add(label);
nodelayPanel.add(setNoDelay);
return nodelayPanel;
}
use of org.apache.jmeter.gui.util.TristateCheckBox in project jmeter by apache.
the class TCPConfigGui method createCloseConnectionPanel.
private JPanel createCloseConnectionPanel() {
// $NON-NLS-1$
JLabel label = new JLabel(JMeterUtils.getResString("closeconnection"));
closeConnection = new TristateCheckBox("", TCPSampler.CLOSE_CONNECTION_DEFAULT);
label.setLabelFor(closeConnection);
JPanel closeConnectionPanel = new JPanel(new FlowLayout());
closeConnectionPanel.add(label);
closeConnectionPanel.add(closeConnection);
return closeConnectionPanel;
}
Aggregations