I’m programming a console application with Java that can be used to monitor a certain website. This operation can be infinite, until it is aborted. Just pressing CTRL + C to abort it does not work, because the application remains in running in the background. (I’m using Windows, but it should be portable.)
Share
Why couldn’t you just wait for user input and kill the program if user enters a certain word?
Looks like http://www.devdaily.com/java/edu/pj/pj010005 could help you out.