/*
 * Created on 2004-12-4
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package test.tree;

import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.DefaultTreeModel;

/**
 * @author reic
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public class MyTreeModel extends DefaultTreeModel
{
	public DefaultMutableTreeNode root=new DefaultMutableTreeNode("124");
	public MyTreeModel()
	{
		super(null);
		this.setRoot(root);
		
		DefaultMutableTreeNode child=new DefaultMutableTreeNode("124");
		this.insertNodeInto(child,root,root.getChildCount());
	}
}
