Anyone has a simple example of java program that can run forever (say like within a few second).
My program is going to run forever scan a directory within every a few second then grabs the files in it.
How do i run it forever? Bit confused.
Need your help guys!