Microsoft SDK for Java

SystemInformation.getPrimaryMonitorSize

Retrieves the width and height, in pixels, of the screen of the primary display monitor when multiple monitors are installed.

Syntax

public static final Point getPrimaryMonitorSize()

Return Value

Returns a Point object that represents the size, in pixels of the primary monitor.

See Also   getPrimaryMonitorMaximizedWindowSize

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