-
Enhancement
-
Resolution: Fixed
-
P4
-
1.3.0_01
-
beta
-
generic
-
generic
Name: rmT116609 Date: 01/23/2001
java version "1.3.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01)
Java HotSpot(TM) Client VM (build 1.3.0_01, mixed mode)
In the Java Language Specification v. 1.0 section 6.8.5 constants are defined
as: "a sequence of one or more words, acronyms, or abbreviations, all
uppercase".
The Color constants in java.awt.Color should be deprecated and new ones
introduced like:
public final static Color GREEN = new Color(0, 255, 0);
instead of:
public final static Color green = new Color(0, 255, 0);
I realize that this has been wrong since JDK 1.0, but there is no time like the
present to fix it ;-)
(Review ID: 115629)
======================================================================