How to chat with frnds in mutiple windows..?

hi

like in gtalk we chat with different frnds in different windows…

i hav made code frm which i can chat with only one person …using smack

now i want to extend my code frm which i can chat with multiple frnds in different windows…

i am nt talking abt group chat…

so … how can we implement this??

do classes provided by smack provide…multiple thread for different friend in mmy list…

or we hav to use Thread class in java to implement this…

plzz tell…

thanks in advance…