Write a program that prompts the user to enter the x- and


Problem

1. Change the Rectangle Component for the mouse listener program in Section 11.6 so that a new rectangle is added to the component whenever the mouse is clicked.

2. Write a program that prompts the user to enter the x- and y-positions of a center point and a radius, using text fields.When the user clicks a "Draw" button, draw a circle with that center and radius in a component.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program that prompts the user to enter the x- and
Reference No:- TGS02634720

Expected delivery within 24 Hours