Anybody know if there is an easy way to limit the allowed characters for a JTextArea. I.e. similar to JTextField using MaskFormatter.
Specifically I want to limit th
You can assign a filter to JTextArea document. Just override the method insertString in the class DocumentFilter to ignore the characters