Is there a way to determine if the JTextField is being canceled, i.e. the WAS field is selected, but now you have selected something else. The reason I want to do this is because I want to check my user forms for any illegal characters before they try to submit their data. If there is some simpler way to do this, instead of trying to solve it, I gladly accept enlightenment.
source share