}
if (treeModel != null)
{
StringBuffer tabs = new StringBuffer();
DefaultMutableTreeNode rootNode = (DefaultMutableTreeNode)treeModel.getRoot();
Enumeration e = rootNode.preorderEnumeration();
while (e.hasMoreElements())
{
DefaultMutableTreeNode node = (DefaultMutableTreeNode)e.nextElement();
tabs.delete(0, tabs.length());
tabs.append("|");