Gradients now implement the Composite pattern. One can easily create gradients with more than 2 colors.
The new gradients are tested in the SwingView code.