TextComponent.setCaretPosition

TextComponent.setCaretPosition

Class Overview | Class Members | This Package | All Packages

Syntax
public void setCaretPosition( int position )
Parameters
position
the position of the text insertion caret.
Description
Sets the position of the text insertion caret for this text component.

Exceptions
IllegalArgumentException if the value supplied for position is less than zero.