timer and scheduling tasks
I have a stand alone java swing application where I have a table with some values say name of the car, which year it was released, when it was sold... so i need to keep checking that table to see if the current year matches the time it was sold.. if matches show a reminder window saying 'u need to update info'. I have 2 buttons on my reminder window: ok and remind me later.. on clicking on remind button keep showing reminder window every week after week until value is changed.
It runs on xp and win 7...
Thats the scenario and I am not sure if timer or scheduling task to be used or if there is something more apt for the scenario. Kindly provide some documents / sample code / key words to search.