Java Swing Tutorial - Java SystemColor ACTIVE_CAPTION








Syntax

SystemColor.ACTIVE_CAPTION has the following syntax.

public static final int ACTIVE_CAPTION

Example

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

import java.awt.SystemColor;

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

  }
}

The code above generates the following result.