Hello,
I need help running a Java program for my assignment.
The program must be written in Java using Swing and should do the following:
Create a window using JFrame with a drawing panel.
When the user clicks somewhere on the panel, the program should open an input dialog asking for the radius.
After the user enters the radius, the program should draw a circle centered at the mouse click location.
The program should allow drawing multiple circles in different locations, not just one.
Since I am using ChromeOS and cannot run Java Swing GUI programs easily, could you please run the program and send me:
- the full working Java code
- screenshots showing the program running
- a final screenshot with at least 5 circles drawn on the panel
Thank you.

Leave a Reply
You must be logged in to post a comment.