In my program I create a thread and name it test and call its run method from a Java Class(file). Now on click of some button in a different Class I want to stop this 'test' thread. I list down all the active threads in my java class(in which I want to stop this 'test' thread) and if the name of any active thread matches 'test' I want to stop it. How can I achieve this??? I need to do this urgently. Please reply at the earliest.
Thanks
Sikar
Thanks
Sikar