|
|
@ -53,7 +53,7 @@ public class ReportletPane extends BasicPane { |
|
|
|
centerPane.add(cardPane, BorderLayout.CENTER); |
|
|
|
centerPane.add(cardPane, BorderLayout.CENTER); |
|
|
|
cardPane.setLayout(card = new CardLayout()); |
|
|
|
cardPane.setLayout(card = new CardLayout()); |
|
|
|
templateReportletTree = new TemplateFileTree(); |
|
|
|
templateReportletTree = new TemplateFileTree(); |
|
|
|
IOFileNodeFilter filter = new IOFileNodeFilter(new String[]{".cpt", ".class", ".frm", ".form",".cptx"}); |
|
|
|
IOFileNodeFilter filter = new IOFileNodeFilter(new String[]{".cpt", ".class", ".frm", ".form", ".cptx"}); |
|
|
|
templateReportletTree.setFileNodeFilter(filter); |
|
|
|
templateReportletTree.setFileNodeFilter(filter); |
|
|
|
cardPane.add(t_panel = new JScrollPane(templateReportletTree), "TEMPLATE"); |
|
|
|
cardPane.add(t_panel = new JScrollPane(templateReportletTree), "TEMPLATE"); |
|
|
|
classReportletTree = new ClassFileTree(); |
|
|
|
classReportletTree = new ClassFileTree(); |
|
|
|