@@ -0,0 +1,648 @@
+package circlePractice;%0A%0Aimport java.awt.GridLayout;%0A%0Aimport javax.swing.JFrame;%0A%0Apublic class MainApp1 extends JFrame %7B%0A%09/**%0A%09 * %0A%09 */%0A%09private static final long serialVersionUID = 1L;%0A%09private ControlPanel panel;%0A%09private Canvas canvasRef;%0A%0A%09public MainApp1() %7B%0A%09%09canvasRef = new Canvas();%0A%09%09panel = new ControlPanel();%0A%09%09panel.setCanvas(canvasRef);%0A%09%09add(canvasRef);%0A%09%09add(panel);%0A%0A%09%7D%0A%0A%09public static void main(String args%5B%5D) %7B%0A%09%09MainApp1 app = new MainApp1();%0A%09%09app.setTitle(%22Colorful circles%22);%0A%09%09app.setLayout(new GridLayout(2, 1));%0A%09%09app.setSize(400, 400);%0A%09%09app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);%0A%09%09app.setVisible(true);%0A%0A%09%7D%0A%7D%0A

Create MainApp1.java