## Uses of Class
java.awt.SystemColor

- Packages that use SystemColor
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.

- - ### Uses of SystemColor in java.awt

    Fields in java.awt declared as SystemColor
    Modifier and Type | Field | Description
    --- | --- | ---
    `static SystemColor` | SystemColor.`activeCaption` The color rendered for the window-title background of the currently active window.
    `static SystemColor` | SystemColor.`activeCaptionBorder` The color rendered for the border around the currently active window.
    `static SystemColor` | SystemColor.`activeCaptionText` The color rendered for the window-title text of the currently active window.
    `static SystemColor` | SystemColor.`control` The color rendered for the background of control panels and control objects, such as pushbuttons.
    `static SystemColor` | SystemColor.`controlDkShadow` The color rendered for dark shadow areas on 3D control objects, such as pushbuttons.
    `static SystemColor` | SystemColor.`controlHighlight` The color rendered for light areas of 3D control objects, such as pushbuttons.
    `static SystemColor` | SystemColor.`controlLtHighlight` The color rendered for highlight areas of 3D control objects, such as pushbuttons.
    `static SystemColor` | SystemColor.`controlShadow` The color rendered for shadow areas of 3D control objects, such as pushbuttons.
    `static SystemColor` | SystemColor.`controlText` The color rendered for the text of control panels and control objects, such as pushbuttons.
    `static SystemColor` | SystemColor.`desktop` The color rendered for the background of the desktop.
    `static SystemColor` | SystemColor.`inactiveCaption` The color rendered for the window-title background of inactive windows.
    `static SystemColor` | SystemColor.`inactiveCaptionBorder` The color rendered for the border around inactive windows.
    `static SystemColor` | SystemColor.`inactiveCaptionText` The color rendered for the window-title text of inactive windows.
    `static SystemColor` | SystemColor.`info` The color rendered for the background of tooltips or spot help.
    `static SystemColor` | SystemColor.`infoText` The color rendered for the text of tooltips or spot help.
    `static SystemColor` | SystemColor.`menu` The color rendered for the background of menus.
    `static SystemColor` | SystemColor.`menuText` The color rendered for the text of menus.
    `static SystemColor` | SystemColor.`scrollbar` The color rendered for the background of scrollbars.
    `static SystemColor` | SystemColor.`text` The color rendered for the background of text control objects, such as textfields and comboboxes.
    `static SystemColor` | SystemColor.`textHighlight` The color rendered for the background of selected items, such as in menus, comboboxes, and text.
    `static SystemColor` | SystemColor.`textHighlightText` The color rendered for the text of selected items, such as in menus, comboboxes, and text.
    `static SystemColor` | SystemColor.`textInactiveText` The color rendered for the text of inactive items, such as in menus.
    `static SystemColor` | SystemColor.`textText` The color rendered for the text of text control objects, such as textfields and comboboxes.
    `static SystemColor` | SystemColor.`window` The color rendered for the background of interior regions inside windows.
    `static SystemColor` | SystemColor.`windowBorder` The color rendered for the border around interior regions inside windows.
    `static SystemColor` | SystemColor.`windowText` The color rendered for text of interior regions inside windows.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.