I need help with a java program. I have written a program that reads file1, which is outputted by another program. Within file1 is the location of file2. It gets file2 from the location sepcified and extracts the relevant information from it and creates file3. the program then reads the contents of file3 and outputs it to a JTable in a JPanel (along with some other calculations)
The problem is that file1 changes every hour or so and the contents of file2 change all the time. I need some way of continuously executing "main" so that it will pick up these changes and then I can repaint the JTable.
Any ideas would be apreciated