简体   繁体   English

Java中的MaskFormatter

[英]MaskFormatter in java

Is there something like MaskFormatter but which is uses regular expressions to set the format of JFormatedTextField ? 是否有类似MaskFormatter东西,但是它使用正则表达式设置JFormatedTextField的格式?

Thanks in advance. 提前致谢。

也许您可以为此使用自定义文档过滤器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM