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

0

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

请先登录再写评论。