How to get a JTree and set the foregroundcolor of a node and replace it?

I am having a JTree and I want to set the foreground color of all the visited nodes .How to do it?Please help me Its urgent.
[152 byte] By [SPBalaa] at [2007-10-3 4:56:40]
# 1
Answer is here: http://forum.java.sun.com/thread.jspa?threadID=768194&tstart=0
PhHeina at 2007-7-14 23:01:54 > top of Java-index,Desktop,Core GUI APIs...