Hi Is there a swing component or an awt component for an IPAddress format to be accepted. If so, please let me know. Right now, I'm able to format using a JMaskedTextField, but I need to restrict the numbers entered into the IPADdress to 255 i.e 255.255.255.255. How do I do this ?!! Thanks Meghna
You could put an event listener on the field and when it loses focus you edit the contents of the field and if it is incorrect put the focus back on that field with an error message.
"JavaRanch, where the deer and the Certified play" - David O'Meara