Sachindra
Sachindra

Reputation: 2092

Good Java Formatted Text Field Library

Java's default JFormattedTextField is not easy to use. What are the other Java libraries available that provide an advanced formatted text field?

Upvotes: 1

Views: 834

Answers (2)

Eng.Fouad
Eng.Fouad

Reputation: 117587

Use simple JTextField and set a DocumentFilter filter on it. See this example.

Upvotes: 2

Lukas Eder
Lukas Eder

Reputation: 220832

RSyntaxTextArea has served me well. I'm using it in the jOOQ Console:

http://fifesoft.com/rsyntaxtextarea/

Although, that might be a bit of overkill for you...?

Upvotes: 2

Related Questions