added function to trim trailing spaces
added try catch for non JTextField containers to NameVerifier and added Amount Verifier