Validation of text fields and contact no text field
问题 I have a JFrame consisting of some text fields (10) and a TextArea. I want to validate all the text fields and see if they are not empty and also check if a 10 digit contact no is entered in one of the text field. After checking the text fields, I want to enable a submit button which is used to submit all this dat to my database. I used following code with adding the text area condition but it is not working,gives the error:- Exception in thread "AWT-EventQueue-0" java.lang