Question: 1. The Dots program listens for a mouse pressed event to draw a dot. How would the program behave differently if it listened for a mouse released event instead? A mouse clicked event?
2. What would happen if the call to super. paint Component were removed from the paint Component method of the Dots Panel class? Remove it and run the program to test your answer.