The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

This topic is READ ONLY
import-bot (20211) [Avatar] Offline
[Originally posted by anais]

I use caretListener for JTextField.
There is two JTextField with currence number. One update according to another.
CaretListener works fine but one problem. When I use delete key to remove one
digit, the another Textfield don't change with it. Because the caret don't
change with delete key, I don't get the arresponding response.
I don't want to use documentlistener since it don't have getsource method.
Do you have solution for this?
thank you