I have another class that has this code, which runs the MyClass.MyMethod, but i want ot be able to re-use the Threads class to runother methods as well, how can i rewrite it, so that I can call other methods in the run()?
A few suggestions...
1. Add a constructor to the RemindTask class to config it -- what methods to call, where to store the result etc.
2. Don't cancel() the Timer object in your RemindTask class, as you may want to reuse it.
3. You may also want to separate the scheduling of the task, in order to use the timer for multiple requests.
Henry