This should fix the resource leak, stopping the caret blinking timer
when the caret looses the focus.
2005-11-22 Audrius Meskauskas <[EMAIL PROTECTED]>
* javax/swing/text/DefaultCaret.java (focusGained):
Update timer status. (focusLost): Stop the timer
(unless the event i
Hi Audrius,
> This should fix the resource leak, stopping the caret blinking timer
> when the caret looses the focus.
> 2005-11-22 Audrius Meskauskas <[EMAIL PROTECTED]>
>
> * javax/swing/text/DefaultCaret.java (focusGained):
> Update timer status. (focusLost): Stop the timer
>
Despite the current version always operates correctly, yes, the timer
generally must be started regardless if the caret is now visible or not
(it may get visible due blinking). I was also thinking about the
version where the "visible" property is not involved into the blinking
process, but in