super(new JTreeModelForNodeForObject(rootNode));
this.listener=listener;
this.rootNode = rootNode;
getSelectionModel().setSelectionMode(
TreeSelectionModel.SINGLE_TREE_SELECTION);
final TreeCellRenderer renderer = new NodeForObjectTreeCellRenderer();
setCellRenderer(renderer);
setExpandsSelectedPaths(true);
addMouseListener(new MouseListener() {
@Override