public TreeTableModelAdapter(TreeTableModel treeTableModel, JTree tree)
{
this.tree = tree;
this.treeTableModel = treeTableModel;
tree.AddTreeExpansionListener(new _TreeExpansionListener_65(this));
// Don't use fireTableRowsInserted() here; the selection model
// would get updated twice.
// Install a TreeModelListener that can update the table when
// tree changes. We use delayedFireTableDataChanged as we can
// not be guaranteed the tree will have finished processing
// the event before us.
treeTableModel.AddTreeModelListener(new _TreeModelListener_80(this));
}