Modify your rectangle application to input the width and height of the rectangle. Use JOptionPane.showInputDialog for input. USe JOptionPane.showMessageDialog for output of the area and perimeter. Modify your circle application to input the radius of the circle.