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.
nm | the name of the color property | |
v | the default color value, as an integer |
Color converted from the system
property or the Color converted from
the specified integer.
java.lang.System.getProperty(java.lang.String), java.lang.Integer.getInteger(java.lang.String), java.awt.Color.Color(int)
Diagram: Paint