CS 10, Fall 2008
Assignment 2

Due: Wednesday, October 22, 9:00pm
Worth: 100 homework points

  1. Write ColorScale.java as a class that represents a n-color scale, and with a public interface that matches our solution's ColorScale interface, including a similar set of javadoc comments.
  2. Write a Java application named ShowColorScale.java as specified below to allow a user to select the colors and size of the scale shown.
  3. Test your classes at CSIL. Then turn them both in at once from your engineering account as follows:
    turnin hw2@cs10 ColorScale.java ShowColorScale.java
    Late projects may not be accepted.


Updated 10/8/08 by C. Michael Costanzo