How can I define custom EditMasks, like xxx-xxx-xxx or, for a JTextField?

Anjum Khan

There is a Java Developers Journal article that describes in detail the best way to do this (with code examples). See

It is very good example with explanations using MVC concepts of all your needs for defining custom edit masks, including date formats, String/numeric formats etc.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact