Populates
table with system colors. This creates an array of
name-color pairs and invokes
loadSystemColors .
The name is a String that corresponds to the name of one of the static SystemColor fields in the SystemColor class. A name-color pair is created for every such SystemColor field.
The color corresponds to a hex String as understood by Color.decode. For example, one of the name-color pairs is "desktop"-"#005C5C" . This corresponds to the SystemColor field desktop, with a color value of new Color(0x005C5C) .
The following shows two of the name-color pairs:
String[] nameColorPairs = new String[] {
"desktop", "#005C5C",
"activeCaption", "#000080" };
loadSystemColors(table, nameColorPairs, isNativeLookAndFeel());
As previously stated, this invokes
loadSystemColors with the supplied
table and
name-color pair array. The last argument to
loadSystemColors indicates whether the value of the field in
SystemColor should be used. This method passes the value of
isNativeLookAndFeel() as the last argument to
loadSystemColors.