Example usage for java.awt Toolkit getColorModel

List of usage examples for java.awt Toolkit getColorModel

Introduction

In this page you can find the example usage for java.awt Toolkit getColorModel.

Prototype

public abstract ColorModel getColorModel() throws HeadlessException;

Source Link

Document

Determines the color model of this toolkit's screen.

Usage

From source file:MainClass.java

public static void main(String[] args) {
    Toolkit tk = Toolkit.getDefaultToolkit();
    System.out.println("Color model = " + tk.getColorModel());

}