java - Swing JTextArea caret events -
are there events fired when caret "blinking"?
(not when position changed or property changed etc, blink of caret horizontal line)
how jtextfield displays hint (which disappears when user starts type):
and the same functionality used in jtextarea:
as can see, while caret blinkng, first letter overwritten.
check method of defaultcaret
protected synchronized void damage(rectangle r)
you can override , add code there
Comments
Post a Comment