private void applyReportSelection() {
if (cbTransformer.isEnabled() && cbTransformer.getSelectedIndex() > -1) {
cbTemplates.removeItemListener(this);
XmlTransformer transformer = (XmlTransformer) cbTransformer.getSelectedItem();
cbTemplates.removeAllItems();
Collection<ReportTemplate> templates =
new ReportTemplates(true).getReportFiles(transformer.getType());
for (ReportTemplate rt : templates)
cbTemplates.addItem(rt);
cbTemplates.setSelectedIndex(0);