hi Rob,
thank you for the quick reply.
i put the break after setIcon(signIn) but still no luck they all green, dont know why, i can see if it is showing green icons its showing green to all buddy list and if it is showing grey icons it iss showing all grey icons , why its not setting the icons even after the condition is met. is there any other way of setting icons in jtree or what i am doing wrong dont know may be there is some basic mistake which i am doing.
yes you are right it should be through
string matching which is names but i can see a basic problem with that idea is
//r.getName is displaying name like - Merry
Rose
and
// is giving the string like -
merry.rose@gmail.com/Talk.v104F96A51EC
also some times r.getname is giving null where there are no names set.
comparing string names will be a difficult task in such situation but i will try to do it with strings and not with indexes, right now i am just figuring out the status of online users once the code will work then i know how i can mould a working code, its a sort of hit and try situation i am stuk with the logic once i got the basics working then I will smooth my code.
thanks again for help.
awaiting.
zishan