Hi,
Try
public void run(){
for (int i=0;i<10;i++) {
System.out.println(name+" "+new Date());
try {
Thread.sleep(100);
}catch (InterruptedException ie) {
}
}
I think is enough...
Adrian
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---