This tutorial here may give an indication on how to do it: http://java.sun.com/products/jfc/tsc/articles/threads/threads2.html
This tutorial here may give an indication on how to do it: java.sun. com/products/ jfc/tsc/ articles/ threads/ threads2. html
http://