# Customize tree component

**URL:** <https://forum.kirupa.com/t/customize-tree-component/175238>\
**Category:** Uncategorized\
**Created:** [January 12, 2006, 8:07pm UTC](https://forum.kirupa.com/t/customize-tree-component/175238 "2006-01-12T20:07:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ncic\_1](https://avatars.discourse-cdn.com/v4/letter/n/9e8a1a/32.png) [@ncic\_1](https://forum.kirupa.com/u/ncic_1)\
**Post date:** [January 12, 2006, 8:07pm UTC](https://forum.kirupa.com/t/customize-tree-component/175238/1 "2006-01-12T20:07:34Z")

</div>

I was wondering if I can change the font style, weight, color, etc of an individual node within MM’s tree component. I know you can use setStyle to change all elements, but I want to try to narrow it down to certain nodes. Also on a side note I was wondering if the tree component will render text as html. I am loading the content from an xml file. I was wondering if there is a way to have some of the nodes in the document render bold in the tree component. Thanks

Edit: I have found more info on what I would like to do and it involves the use of the CellRenderer API. I’ve been searching for a while and it looks pretty tough to use with the tree component. Does anyone here have any good advice on this subject?
