How to relate a button to "control+c"
Hi:
I am using runtime class to run a java program from within
the original java program.
My question is if I run a endless loop program from within the original program,
is there a way for me to just click a button and let the endless loop
program terminate?
It is like in console environment, by clicking control+c then the program stops.
The original program still runs but the endless loop program terminates.
Thanks

