I am looking to change the icons in a Jtree nodes depending on some condition. For Example I am populating n number of Jobs in the Jtree under a single parent by reading a folder for xml files.
and some of the jobs might be currently running and i wish to show the icons for these running jobs with a green dot to differentiate them from other jobs. As follows
I just need to differentiate it from other jobs be it the icon changing or the text color changing.