Java Swing Tutorial - Java SystemColor control








Syntax

SystemColor.control has the following syntax.

public static final SystemColor 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.getRGB());

  }
}

The code above generates the following result.