Microsoft SDK for Java

Control.getRight

Retrieves the distance between the right edge of the control and the left edge of its container's client area.

Syntax

public final int getRight()

Return Value

Returns an integer that represents the distance, in pixels, between the right edge of the control and the left edge of its container's client area. This value is equal to the value returned by the getLeft method plus the value returned by the getWidth method.

See Also   getBounds

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