I am trying to show a rectangle "flying" across a panel, but it just sits there Any suggestions?
and here is MyPanel:
Jeff Ciaccio, Java novice <br />Physics and AP Physics Teacher<br />Sprayberry High School <br />Marietta, GA
posted 8 years ago
The MyPanel should work as written, the box will move if the X and Y are incremented. So I would suggest inserting a print line statement in the setCurrentX, and setCurrentY to see what is happening. For example: