How to customize some of the JTree icons?

Hi everyone, I have a JTree and I understand if I would like to customize the icons I will need to call setCellRenderer method on the jtree object. But my question is would it be possible to customize only some of the tree nodes to make them stand out from the rest?

Thank you very much.

[301 byte] By [yid85a] at [2007-11-27 10:06:20]
# 1
You can, before creating the trees, update UIManager to set these with the appropriate images, if you aren't otherwise using a custom renderer..."Tree.openIcon""Tree.closedIcon""Tree.leafIcon""Tree.expandedIcon""Tree.collapsedIcon"
bsampieria at 2007-7-13 0:42:31 > top of Java-index,Java Essentials,Java Programming...
# 2
Thanks.But the nodes to be customised are decided on the fly, regardless whether they are "open/expanded/collapsed/leaf" or not. Is there any way to apply changes to the icons in the run time?
yid85a at 2007-7-13 0:42:31 > top of Java-index,Java Essentials,Java Programming...
# 3
Subclass DefaultTreeCellRenderer.
BigDaddyLoveHandlesa at 2007-7-13 0:42:31 > top of Java-index,Java Essentials,Java Programming...