Question: **JAVA** Please help me complete this exercise from my book. If possible use scene builder Chapter 22, Problem 4E Bookmark Show all steps: ON Problem
**JAVA** Please help me complete this exercise from my book. If possible use scene builder

Chapter 22, Problem 4E Bookmark Show all steps: ON Problem (Polyline app) Create an app in which, as the user moves the mouse cursor around the window, a Circle and Polyline follow the cursor. The app should appear as shown in Fig.22.18. There should always be a Circle centered at the current mouse-cursor location, and that location should also be the first point in the Polyline. As you respond to each mouse-move event, use the mouse cursor's location as the Circle's new center and insert that location at the beginning of the Polyline's points collection. The Polyline's length should not increase forever-once the Polyline reaches 50 points, remove the last point each time you insert a new first point. Fig. 22.18 a Circle and Polyline follow the mouse cursor inside the window. Step-by-step solution Chapter 22, Problem 4E Bookmark Show all steps: ON Problem (Polyline app) Create an app in which, as the user moves the mouse cursor around the window, a Circle and Polyline follow the cursor. The app should appear as shown in Fig.22.18. There should always be a Circle centered at the current mouse-cursor location, and that location should also be the first point in the Polyline. As you respond to each mouse-move event, use the mouse cursor's location as the Circle's new center and insert that location at the beginning of the Polyline's points collection. The Polyline's length should not increase forever-once the Polyline reaches 50 points, remove the last point each time you insert a new first point. Fig. 22.18 a Circle and Polyline follow the mouse cursor inside the window. Step-by-step solution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
