SyntaxFix
Write A Post
Hire A Developer
Questions
You should implement Runnable, but if you are running on Java 5 or higher, you should not start it with new Thread but use an ExecutorService instead. For details see: How to implement simple threading in Java.
new Thread