Write a program that lets the user click on a pane to dynamically create and remove points (see Figure). 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).

(a) Exercise allows the user to create/remove points dynamically.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.