Question: Please read all. Thank you! Write a Java program that animates alternatively two image files RIGHT1.gif and RIGHT2.gif on a horizontal line . USE BOTH
Please read all. Thank you!
Write a Java program that animates alternatively two image files RIGHT1.gif and RIGHT2.gif on a horizontal line. USE BOTH IMAGES to alternate so the cat appears to be running across the window.


If the animated images reach the right border of the frame, the images should be reanimated from the left border of the frame.
The program also displays a string randomly.
Below are pictures as an example of what the output should look like.

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
