Modify Listing 20.6, MultipleBallApp.java to assign a random radius between 2 and 20 when a ball is

Question:

Modify Listing 20.6, MultipleBallApp.java to assign a random radius between 2 and 20 when a ball is created. When the - button is clicked, one of largest balls is removed.

Listing

image

image

image

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: