Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

SystemInformation.getDoubleClickSize

Retrieves the width and height, in pixels, of the rectangle around the location of a first click in a double-click sequence.

Syntax

public static final Point getDoubleClickSize()

Return Value

Returns a Point object that represents the size of an imaginary rectangle around which a double-click must occur.

Remarks

Use the getDoubleClickSize method to determine the height and width of the rectangle that Windows uses to determine whether the second click in a double-click sequence is in a valid location. The second click must occur within this rectangle for the system to consider the two clicks to be a double-click. The two clicks must also occur within a specified time (determined using the getDoubleClickTime method).