posted 14 years ago
Hi there,
Here's a really pointless piece of code (hey, it was suggested by Deitel in JHTP!) that has a quirk I can't figure out. Basically, it's the old tortoise and hare race, with lovely icons running up the hill... so I got the program logic to work first, then the graphics, then implemented a JButton with an ActionListener which is supposed to restart the run() method. And, it does... I can see by the terminal output that the program is running again. However, the graphics freeze and don't restart. Any suggestions? I tried to attach the graphics as a zipped file but am told I can't. Thanks for wasting your time!!!