1) I do not see a closing brace for txfIP.setInputVerifier(..
I'd recommend to use some editors like Eclipse to code, so that you will find it easy to catch errors like this.
2) As far as regex for validating ip address, you can try this. Hope that helps.
IPADDRESS_PATTERN =
"^([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\." +
"([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\." +
"([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\." +
"([01]?\\d\\d?|2[0-4]\\d|25[0-5])$";