Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JFormattedTextField - IP Address formatter

843806Jan 20 2009 — edited Jan 21 2009
Hi

Does anyone know how I can create a formatter for entering an IP Address into a JFormattedTextField? I would like it to reject the text entry if it doesn't have the right number of dots in acceptable places.

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 18 2009
Added on Jan 20 2009
3 comments
3,755 views