import java.awt.*; import javax.swing.*; import java.util.*; import java.text.*; public class TestCircle3GUI { private JFrame outputFrame; private Container container; private CircleDrawingPanel circlesDrawingPanel; public static void main(String[] args) { new TestCircle3GUI(); } public TestCircle3GUI() { //stuff to make a frame and drawing panel: outputFrame = new JFrame(); outputFrame.setSize(1000,700); outputFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //Container container = outputFrame.getContentPane(); circlesDrawingPanel = new CircleDrawingPanel(); //container.add( circlesDrawingPanel); outputFrame.getContentPane().add( circlesDrawingPanel); outputFrame.setVisible(true); Circle3 cA [] = new Circle3[100]; //array of Circle references DecimalFormat d3 = new DecimalFormat ("0.000"); cA[0] = new Circle3(); //unit circle cA[1] = new Circle3(5.0); //radius 5 at origin cA[2] = new Circle3(10.0,new Point(50,50)); //radius 10 at (50,50) cA[3] = new Circle3(50.0,new Point(150,250)); //radius 50 at (150,250) int N=20; for (int i=4; i