Java Swing Tutorial - Java SystemColor CONTROL_TEXT








Syntax

SystemColor.CONTROL_TEXT has the following syntax.

public static final int CONTROL_TEXT

Example

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

import java.awt.SystemColor;

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

  }
}

The code above generates the following result.