View Single Post
  #2 (permalink)  
Old 04-25-2007, 04:50 AM
derrickD derrickD is offline
Member
 
Join Date: Apr 2007
Location: USA
Posts: 50
derrickD is on a distinguished road
Threads are hard. I think that the sleep method that this anonymous class is using is its sleep() method which needs a parameter passed in. I do not think it is using the sleep method you created. I changed your method name to doze() and changed it in the anonymous class and it ran , but of course it never stopped running. Somewhere you need to give it a time to stop, unless of course it is something you want to run forever, which, I supposed, you might
Reply With Quote