The eclipse Job Scheduler is slowly causing the count down clock to loose time. So probably need to switch to using the java.util.Timer and then scheduling the write job.
Basically, update the on screen timer, schedule a Job to write the data to the timer.txt file. The timer task is written such that it is guaranteed to kick off every second.
The eclipse Job Scheduler is slowly causing the count down clock to loose time. So probably need to switch to using the java.util.Timer and then scheduling the write job.
http://bioportal.weizmann.ac.il/course/prog2/tutorial/essential/threads/timer.html
Basically, update the on screen timer, schedule a Job to write the data to the timer.txt file. The timer task is written such that it is guaranteed to kick off every second.