The situation I have at hand is this:
There is a file on the computer and I want to monitor this file using a java program that runs in the background. As soon as a new line is added to this file, the java program monitoring the file performs an action. Any suggestions as to how this can be achieved?
How can I possibly make a java program run in the background. Im working on windows and am using jdk 1.6.
Thanks in advance