You haven't given source for the rest of your Stickman cl, so I can't help much. I'm guessing that Stickman.draw is calling Stickman.move for some reason. Use a Java IDE like Eclipse or NetBeans to debug your program. Throw an exception every time Stickman.move is called, so the debugger will print your stack trace. That way you can see what methods are calling Stickman.move.
No comments:
Post a Comment