import uwcse.graphics.*; import java.awt.Color; // Display some graphics at the location of the mouse click // (here a filled circle of radius 30. The color of the circle is random) public class MouseHandler extends GWindowEventAdapter { // Graphics window private GWindow window; public MouseHandler() { // Create a graphics window // Terminate the application when closing the window // Send all of the events to this MouseHandler } // Method to manage the mouse clicks /** * Invoked when a mouse button has been pressed on the window. */ public void mousePressed(GWindowEvent e) { // mouse coordinates // Print the mouse coordinates // Display a circle of radius 30 centered at the click location. // The color of the circle is random. } }