Java SystemColor DESKTOP
Syntax
SystemColor.DESKTOP has the following syntax.
public static final int DESKTOP
Example
In the following code shows how to use SystemColor.DESKTOP field.
import java.awt.SystemColor;
//from w ww .j ava 2 s .co m
public class Main {
public static void main(String[] args) {
System.out.println(SystemColor.DESKTOP);
}
}
Home »
Java Tutorial »
java.awt »
Java Tutorial »
java.awt »