import java.util.Scanner;

public class Main {
    
    public Main()
    {
    	Scanner sc = new Scanner(System.in);
    	String nome = "fooBar123456";
    	if (checkLetters(nome))
    	{
    		System.out.println("Fazer algo aqui...");
    	}
    	else
    	{
    		System.out.println("Neste campo não é permitido números. Tente Novamente.");
    	}
    }
    
    public boolean checkLetters(String str) 
    {
    	return str.matches("[a-zA-Z]+");
    }
    
    public static void main(String[] args) {
        new Main();
    }
}