kill threads

hi! I'd like to kill many threads I throw. I use Thread class. do have I to kill them using "join" or "interrupt"? thank you!
[147 byte] By [Albertitoa] at [2007-10-2 10:07:32]
# 1
You don't throw threads. The usual manner of stopping a thread is by having the thread check a condition and die if it's met, a boolean for example.By changing this condition when you want it to die you can kill it.
kablaira at 2007-7-13 1:25:13 > top of Java-index,Other Topics,Patterns & OO Design...