1. Write a program that displays an 8-by-8 grid of panels, all of which are initially colored white. When the user presses the mouse within a panel, its color should change to a randomly generated color.
2. Define a Rectangle class to represent rectangles. Modify the program of Section 6.6 so that it uses two rectangles instead of two circles.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here