Is there a default cellrenderer for trees?

Hi Community,

I would like to know if there is a default cellrenderer for Trees, such as DefaultPsiElementCellRenderer for JBLists?

Markus

2 comments

No. You can use ColoredTreeCellRenderer, and write 2 lines of code to show the icon and name of the element.

0

I got it thanks.

And sorry for my newbie questions.
0

Please sign in to leave a comment.