public static Color getColor (String nm, int v)

Finds a color in the system properties.

The first argument is treated as the name of a system property to be obtained. The string value of this property is then interpreted as an integer which is then converted to a Color object.

If the specified property is not found or could not be parsed as an integer then the integer value v is used instead, and is converted to a Color object.

Parameters:
nm    the name of the color property
v    the default color value, as an integer

Returns:  the Color converted from the system property or the Color converted from the specified integer.

See also:
java.lang.System.getProperty(java.lang.String), java.lang.Integer.getInteger(java.lang.String), java.awt.Color.Color(int)

Since:  JDK1.0