There are two problems with your code, one problem is that you are not starting the timer, and the second problem is that your application
thread is terminating perform your Timer thread has been fired.
Therefore you need to have some loop or delay in your code to allow the Timer to fire, otherwise the application finishes before your timer has fired (I've just used Thread.sleep to stop the thread terminating) you would need to do something a bit more robust.
[ March 11, 2006: Message edited by: Jason Moors ]