I would like to customize a BeanTreeView node's appearance depending on whether it is selected and has focus.

I would like to change the text color, foreground & background color, and ideally change font and italicize.
It would seem a good place to do it would be from MyNode that extends AbstractNode.

Except I don't see how to do this, particularly if to be efficient as the tree could potentially have thousands of nodes.
I've tried searching online but finding lots of 404 pages for Netbeans.
 
I know about getHtmlDisplayName(), but I still don't know how to determine node's selection and focus status.
 
Can someone please point me in the right direction.
At least suggest the class names & methods that I should be looking at.
 
Thank you.
 
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to