Write an applet that displays a 4 4 grid. When the user clicks on a square

Question:

Write an applet that displays a 4 × 4 grid. When the user clicks on a square in the grid, the applet should draw a filled circle in it. If the square already has a circle, clicking on it should cause the circle to disappear.

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

Step by Step Answer:

Question Posted: