Class FlatCaret

All Implemented Interfaces:
FocusListener, MouseListener, MouseMotionListener, Shape, Serializable, Cloneable, EventListener, UIResource, Caret

public class FlatCaret extends DefaultCaret implements UIResource
Caret that can select all text on focus gained. Also fixes Swing's double-click-and-drag behavior so that dragging after a double-click extends selection by whole words.
See Also: