posted 20 years ago
1. Create a image object in init() method.
2. In run() method, keep changing coordinates of image (moon lander) after specific interval of time. I mean, either increment / decrement Y coordinates by a pixel to give the effect of image moving up or down. Call repaint() thereafter.
3. In paint() method, just draw the image with the changed coordinates.