A class to encapsulate symbolic colors representing the color of native GUI objects on a system. For systems which support the dynamic update of the system colors (when the user changes the colors) the actual RGB values of these symbolic colors will also change dynamically. In order to compare the "current" RGB value of a
SystemColor
object with a non-symbolic Color object,
getRGB
should be used rather than
equals
.
Note that the way in which these system colors are applied to GUI objects may vary slightly from platform to platform since GUI objects may be rendered differently on each platform.
System color values may also be available through the getDesktopProperty
method on java.awt.Toolkit
.
@see Toolkit#getDesktopProperty
@version 1.26, 08/06/06
@author Carl Quinn
@author Amy Fowler