Question#3 Lab4 CSCI 15a The paint method within the class ComputeFigure works on a conditional if/else statement. If the statement in the parentheses is true ( in our case if the "figure" has been set to be a circle by the Button Handler), the paint method enters the bracketed code and, in this case, draws an oval with the specified parameters, previously set by TheMouseHandler methods mousepressed( for the top left x and y coordinates) and mouseDragged ( for the width and height). If the statement in parentheses is false( in our case if the "figure" has been set to anything other than a circle) the program skips over the bracketed portion of the program to the else statement, and performes the bracketed code next to the else statement ( in our case it draws a rectangle with parameters again set by The Mouse Handler). As one can see, the MouseHandler and ButtonHandler classes provide the user with an interface to control/modify the output from the Compute Figure program.