Microsoft SDK for Java

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

© 1999 Microsoft Corporation. All rights reserved. Terms of use.