Timer in Java Thread
A few errors in your code snippet: You extend the Thread class, which is not really good practice You have a Timer within a Thread? That doesnt make sense as the a Timer runs on its own Thread. You should rather (when/where necessary), implement a Runnable see here for a short example, however I cannot … Read more