Class HintTextField

java.lang.Object
All Implemented Interfaces:
FocusListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, Scrollable, SwingConstants

public class HintTextField extends JTextField implements FocusListener
A class extending a JTextField that can display a 'ghost' text prompt in the field when it is empty. Hint display by default is whenever the field has no text, but hint display can be limited to only when the field has focus.
See Also: