[jdk20] RFR: 8301989: new javax.swing.text.DefaultCaret().setBlinkRate(N) results in NPE [v2]
Alexander Zuev
kizune at openjdk.org
Wed Feb 8 23:02:44 UTC 2023
On Wed, 8 Feb 2023 22:46:00 GMT, Phil Race <prr at openjdk.org> wrote:
> We surely don't want to keep the old blink rate just because a component is non-editable ?
When we receive focus on non-editable component we set blink rate to 0 to stop caret blinking. If we do not add this condition then we immediately clear off the saved blink rate.
-------------
PR: https://git.openjdk.org/jdk20/pull/122
More information about the client-libs-dev
mailing list