CPF Field Mask

-4

How can I add a simple input mask?

For example, when I type in the CPF, I want to limit the amount of characters I already know, I just want to know how to add those points and bars along the user's typing.

Note: I saw some examples here but none worked.

    
asked by anonymous 11.10.2016 / 16:06

1 answer

0

There is no native way of applying textFiled masks in JavaFX. Must use some library or do the work manually. In several other questions in stackoverflow you can identify some ways to solve this problem:

12.10.2016 / 00:00