return messageTypeCombo;
}
private void syncFromMessage() throws JMSException {
Calendar cal = Calendar.getInstance();
FastDateFormat fmt = FastDateFormat.getInstance("yyyy-MM-dd HH:mm:ss.SSSZ");
if (message.getJMSReplyTo() != null) {
replyToDomain = Domain.getDomain(message.getJMSReplyTo());
} else {
replyToDomain = Domain.QUEUE;
}
tglbtnQueue.setText(replyToDomain.toString());
messageIdField.setText(message.getJMSMessageID());
replyToField.setText(JMSUtils.getDestinationName(message.getJMSReplyTo()));
destinationField.setText(JMSUtils.getDestinationName(message.getJMSDestination()));
correlationIDField.setText(message.getJMSCorrelationID());
typeField.setText(message.getJMSType());
timestampField.setText(fmt.format(new Date(message.getJMSTimestamp())));
expirationSpinner.setValue(message.getJMSExpiration());
priroritySpinner.setValue(message.getJMSPriority());
if (message instanceof TextMessage) {
messageTypeCombo.setSelectedItem(MessageType.TextMessage);
} else if (message instanceof BytesMessage) {