Microsoft SDK for Java

SystemInformation.getMouseWheelPresent

Determines whether the mouse that is currently installed on the system has a mouse wheel.

Syntax

public static final boolean getMouseWheelPresent()

Return Value

Returns true if the currently installed mouse has a mouse wheel; otherwise, returns false.

Remarks

Use this method when determining whether to process code that requires a mouse wheel.

See Also   getMouseWheelScrollLines, getNativeMouseWheelSupport

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