Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

Graphics.drawFocusRect

Draws a Windows focus rectangle, a dotted rectangle that Windows uses to indicate that a specified control has the input focus.

Syntax

public final void drawFocusRect( Rectangler**)**

public final void drawFocusRect( intx, inty, intwidth, intheight )

Parameters

r

A Rectangle object that specifies the coordinates of the focus rectangle.

x

The x-coordinate of the focus rectangle.

y

The y-coordinate of the focus rectangle.

width

The width of the focus rectangle.

height

The height of the focus rectangle.