Hi, I've returned after a long gap.I wish to set my JTextField so that it accepts only IP addresses,like that of a windows textfield used in configuring the IP address of a machine. eg " . . . " "192.0.0.1". Plz reply this positively. Happy Middling with Java. Netharam.