4142434445464748
public class ReportTreeModel extends DefaultTreeModel { private static final long serialVersionUID = 240L; public ReportTreeModel() { super(new ReportTreeNode(new ReportGui().createTestElement(), null)); initTree(); }
177178179180181182183184185
super.removeNodeFromParent((ReportTreeNode) getChild(getRoot(), 0)); initTree(); } private void initTree() { TestElement rp = new ReportGui().createTestElement(); this.insertNodeInto(new ReportTreeNode(rp, this), (ReportTreeNode) getRoot(), 0); }
3940414243444546
import org.apache.jorphan.collections.ListedHashTree; public class ReportTreeModel extends DefaultTreeModel { public ReportTreeModel() { super(new ReportTreeNode(new ReportGui().createTestElement(), null)); initTree(); }
172173174175176177178179180
4041424344454647
173174175176177178179180181
167168169170171172173174175
178179180181182183184185186