Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

SystemInformation.getMonitorsSameDisplayFormat

Determines if all monitors currently connected to the system have the same color format.

Syntax

public static final boolean getMonitorsSameDisplayFormat()

Return Value

Returns true if all monitors have the same color format; otherwise, returns false.

Remarks

Use the getMonitorsSameDisplayFormat method to determine whether all monitors currently connected to the system have the same color format. For example red, green, and blue pixels can be encoded with a different number of bits, or those bits can be located in different places in a pixel's color value.

Note   Two displays can have the same bit depth but different color formats.

See Also getMonitorCount