Home > Back-end >  About listening
About listening

Time:10-12

In Java for multiple text box to add the same focus listening, which loses focus processing method is, to determine the content of the text box, if does not meet the conditions (not all Numbers or empty), give an error message dialog prompt, and makes the text box gains focus to edit again,
Problem when editing the first text box (content), right click on another text box, the results monitored by trigger twice in a row, but in the end result is a focus in the first text box, why would be triggered two consecutive times, focus on why the last in the first text box?
  • Related