JOptionPane.showMessageDialog(this, "Please enter a name for the message source.", "BAM Sample", JOptionPane.WARNING_MESSAGE);
return false;
}
RandomMessageSourceDescription messageSourceDescription = new RandomMessageSourceDescription (name);
Collection<MessagePropertyDescription> messagePropertyInfos = messageSourceDescription.getMessagePropertyDescriptions();
if (messagePropertyInfos != null) {
MonitorJobDescription jobDescription = new MonitorJobDescription (messageSourceDescription);
document.addJobDescription(jobDescription);