JPanel messagePanel = new JPanel(new BorderLayout());
messagePanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
JMeterUtils.getResString("jms_message_title"))); //$NON-NLS-1$
JPanel correlationPanel = new HorizontalPanel();
correlationPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),
JMeterUtils.getResString("jms_correlation_title"))); //$NON-NLS-1$
useReqMsgIdAsCorrelId = new JCheckBox(JMeterUtils.getResString("jms_use_req_msgid_as_correlid"),false); //$NON-NLS-1$
useResMsgIdAsCorrelId = new JCheckBox(JMeterUtils.getResString("jms_use_res_msgid_as_correlid"),false); //$NON-NLS-1$
correlationPanel.add(useReqMsgIdAsCorrelId);
correlationPanel.add(useResMsgIdAsCorrelId);
JPanel messageNorthPanel = new JPanel(new BorderLayout());
JPanel onewayPanel = new HorizontalPanel();
onewayPanel.add(oneWay);
onewayPanel.add(correlationPanel);
messageNorthPanel.add(onewayPanel, BorderLayout.NORTH);
useNonPersistentDelivery = new JCheckBox(JMeterUtils.getResString("jms_use_non_persistent_delivery"),false); //$NON-NLS-1$
JPanel timeoutPanel = new HorizontalPanel();
timeoutPanel.add(timeout);
timeoutPanel.add(useNonPersistentDelivery);
messageNorthPanel.add(timeoutPanel, BorderLayout.SOUTH);
messagePanel.add(messageNorthPanel, BorderLayout.NORTH);
JPanel messageContentPanel = new JPanel(new BorderLayout());