Complete the following file:

TranslateDemo.java

import java.awt.Rectangle; import javax.swing.JFrame; import javax.swing.JOptionPane; public class TranslateDemo { public static void main(String[] args) { // Construct a frame and show it JFrame frame = new JFrame(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); // Your work goes here: // Construct a rectangle and set the frame bounds // Your work goes here: // Move the rectangle and set the frame bounds again } }