Swing/Awt Animation/Multithreadsclasses May Be Needed

Timer in javax.swing package,import javax.swing.*;
public class Assignment12 extends JApplet
{
private final int WIDTH = 550;
private final int HEIGHT = 340;
public void init()
{
ControlPanel panel = new…Java Programming