Microsoft SDK for Java

SystemInformation.getMouseButtonsSwapped

Determines whether the usage of the left and right mouse buttons has been swapped.

Syntax

public static final boolean getMouseButtonsSwapped()

Return Value

Returns true if the usage of the left and right mouse buttons is swapped; otherwise, returns false.

Remarks

Use the getMouseButtonsSwapped method to determine whether the left and right mouse buttons have opposite usage.This method determines how the system responds to mouse button clicks and other mouse button events.

See Also   getMouseButtons, getMousePresent

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