Java Swing Tutorial - Java SystemColor CONTROL_HIGHLIGHT








Syntax

SystemColor.CONTROL_HIGHLIGHT has the following syntax.

public static final int CONTROL_HIGHLIGHT

Example

In the following code shows how to use SystemColor.CONTROL_HIGHLIGHT field.

import java.awt.SystemColor;

public class Main {
  public static void main(String[] args) {
     System.out.println(SystemColor.CONTROL_HIGHLIGHT);

  }
}

The code above generates the following result.