Java Swing Tutorial - Java SystemColor ACTIVE_CAPTION_TEXT








Syntax

SystemColor.ACTIVE_CAPTION_TEXT has the following syntax.

public static final int ACTIVE_CAPTION_TEXT

Example

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

import java.awt.SystemColor;

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

  }
}

The code above generates the following result.