Good I would like to know if someone can tell me how I could control with the Keytyped that the user enter only vowels and in another textfield only consonants
I have here a reference that only leaves me letters in general and no number or spaces:
char c = evt.getKeyChar();
if((c<'a' || c>'z') && (c<'A' || c>'Z') && (c<' ' || c>' ')) evt.consume();