[cp-patches] FYI: Stopping the DefaultCaret timer when the component looses the focus.

2005-11-22 Thread Meskauskas 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 (unless the event is

Re: [cp-patches] FYI: Stopping the DefaultCaret timer when the component looses the focus.

2005-11-22 Thread Mark Wielaard
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

Re: [cp-patches] FYI: Stopping the DefaultCaret timer when the component looses the focus.

2005-11-22 Thread Meskauskas Audrius
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