Graphics.drawFocusRect

Overview | Methods | This Package | All 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( Rectangle r )

public final void drawFocusRect( int x, int y, int width, int height )

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.