SystemInformation.getMonitorCount

Overview | Methods | This Package | All Packages

SystemInformation.getMonitorCount

Retrieves the number of monitors that are connected to the system.

Syntax

public static final int getMonitorCount()

Return Value

Returns an integer value that represents the number of monitors that are connected to the system.

Remarks

This method returns a value greater than one only if multiple monitors are presently connected to the system.

See Also   getMonitorsSameDisplayFormat