/* Auto5.java */ public class Auto5 implements SimpleTreeNode { public String name; public int erstzulassung; public int leistung; private SimpleTreeNode treenode = new DefaultTreeNode(""); public void addChild(SimpleTreeNode child) { treenode.addChild(child); } public int getChildCnt() { return treenode.getChildCnt(); } public SimpleTreeNode getChild(int pos) { return treenode.getChild(pos); } public String toString() { return name; } }