This program displays the color selected using three text fields. It demonstrates the use of the try-catch clause to intercept errors caused by both non-numerical input and numbers which exceed the size of the allocated array.

Note: This demo requires a Java enabled browser. If you see this message then your browser either doesn't support Java or has had Java disabled.

Click below to download the source files for ColorMixer.