Is there a possible way to do that?
e.g In my application form a have a field for the user's name which is a String. But how can I disallow the user from giving for example "L3bron James" instead of giving "Lebron James"?
String sql_name = name.getText();
// name is a JTextField
if (sql_name.length() == 0)
{
//how to check if the name does not contain int digits
JOptionPane.showMessageDialog(null,"Name is a string ,NOT an Integer, not a null value!!","Invalid Name",JOptionPane.ERROR_MESSAGE);
}