The darkening action listener

This code creates a new Color object

Then it calls the darker method on that Color object

Then it extracts the color components from the darker Color object

This, in turn, causes the color swatch to change

File: ay.htm [Next] [Prev]