Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

SystemInformation.getDoubleClickTime

Retrieves the current double-click time for the mouse.

Syntax

public static final int getDoubleClickTime()

Return Value

Returns an integer value that represents the number of milliseconds between clicks for a double-click.

Remarks

A double-click is a series of two clicks of the mouse button, the second occurring within a specified time after the first. The double-click time is the maximum number of milliseconds that can occur between the first and second click of a double-click. For a double-click to be registered, it must also be within the same region. To determine this region, use the getDoubleClickSize method.