hello!

try



jTextField1.getText().toString().matches("[A-Z][a-zA-Z]*")


Jbuilder it is an ide and it can not be to not include the matches method