In older versions of Java, the colours had lower case names such as
Color.white. Since these are static final constants, Sun later gave
them proper upper case names such as Color.WHITE. However, beware of
using the upper case names it you want to target earlier versions.
Your programs will explode in a glory of exceptions from the missing
support. The lower case names will work in any JDK.
Did Color.WHITE come in 1.4 or 1.5?

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Lee Weiner - 05 Feb 2006 04:39 GMT
>Did Color.WHITE come in 1.4 or 1.5?
It was in 1.4.
Lee Weiner
lee AT leeweiner DOT org