import javafx.application.Application;
import javafx.stage.Stage;

public class RandomCircles extends Application {
    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage primaryStage) throws Exception {
        // TODO Auto-generated method stub
    }
}

@@ -1,20 +1,46 @@
+import java.util.Random;%0A%0A
 import javafx.applic
@@ -77,261 +77,1338 @@
 fx.s
-tage.Stage;%0A%0Apublic class RandomCircles extends Application %7B%0A    public static void main(String%5B%5D args) %7B%0A        launch(args);%0A    %7D%0A%0A    @Override%0A    public void start(Stage primaryStage) throws Exception %7B%0A        // TODO Auto-generated method stub
+cene.Group;%0Aimport javafx.scene.Scene;%0Aimport javafx.scene.canvas.Canvas;%0Aimport javafx.scene.canvas.GraphicsContext;%0Aimport javafx.scene.paint.Color;%0Aimport javafx.stage.Stage;%0A%0Apublic class RandomCircles extends Application %7B%0A    private static final int CANVAS_HEIGHT = 200;%0A    private static final int CANVAS_WIDTH = 300;%0A%0A    public static void main(String%5B%5D args) %7B%0A        launch(args);%0A    %7D%0A%0A    @Override%0A    public void start(Stage primaryStage) %7B%0A        Group root = new Group();%0A        Canvas canvas = new Canvas(CANVAS_WIDTH, CANVAS_HEIGHT);%0A        GraphicsContext gc = canvas.getGraphicsContext2D();%0A%0A        for (int i = 0; i %3C 10; i++) %7B%0A            drawRandomCircle(gc);%0A        %7D%0A%0A        root.getChildren().add(canvas);%0A        primaryStage.setScene(new Scene(root));%0A        primaryStage.show();%0A    %7D%0A%0A    private void drawRandomCircle(GraphicsContext gc) %7B%0A        Random random = new Random();%0A%0A        // Generate a random radius between 5 and 50 (inclusive)%0A        int radius = random.nextInt(46) + 5;%0A%0A        int x = random.nextInt(CANVAS_WIDTH - radius * 2);%0A        int y = random.nextInt(CANVAS_HEIGHT - radius * 2);%0A%0A        Color color = Color.color(random.nextDouble(), random.nextDouble(), random.nextDouble());%0A%0A        gc.setFill(color);%0A        gc.fillOval(x, y, radius * 2, radius * 2);
 %0A   

Finish section assignment 3 problem 3