Java Swing Tutorial - Java SystemColor CONTROL








Syntax

SystemColor.CONTROL has the following syntax.

public static final int CONTROL

Example

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

import java.awt.SystemColor;

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

  }
}

The code above generates the following result.