title: How to stop a java thread of TestNG through a stop button in swt
body: <p>I have created a swt application which starts automated testing using TestNG through command line in java. Now I need a stop button to stop its execution in the middle. Is there a way to do it if when running TestNG with the button doesn't open a new cmd window??</p>