Microsoft SDK for Java

SystemInformation.getMousePresent

Determines whether the system has a mouse installed.

Syntax

public static final boolean getMousePresent()

Return Value

Returns true if a mouse is installed; otherwise, returns false.

See Also   getMouseButtons, getMouseButtonsSwapped

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