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