Write a program that lets the user click on a pane to dynamically create and remove points

Question:

Write a program that lets the user click on a pane to dynamically create and remove points (see Figure 15.28a). When the user left-clicks the mouse (primary button), a point is created and displayed at the mouse point. The user can remove a point by pointing to it and rightclicking the mouse (secondary button).image

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

Step by Step Answer:

Question Posted: