Microsoft SDK for Java

Screen.getPrimary

Retrieves a Screen object for the primary monitor.

Syntax

public static Screen getPrimary()

Return Value

Returns a Screen object for the primary monitor on the system. If the system contains only a single monitor, this method returns a Screen object for that monitor.

See Also   getAllScreens

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