// Graphic1.java import java.awt.*; public class Problem6 extends LabFrame { public void paint(Graphics g) { int step = 17; int x = 200 - step; int y = 210 - step; int width = 2*step; int n = 0; while (n < 10 ) { g.drawOval(x, y, width, width); x = x - step; y = y - step; width = width + 2*step; n++; } } public static void main(String[] args) { LabFrame f = new Problem6(); f.setSize(400, 400); f.setVisible(true); } }