1

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

Lukas Eder
  • 196,412
  • 123
  • 648
  • 1,411
Sachindra
  • 1,962
  • 4
  • 21
  • 29

2 Answers2

2

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...?

Lukas Eder
  • 196,412
  • 123
  • 648
  • 1,411
2

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

Community
  • 1
  • 1
Eng.Fouad
  • 111,301
  • 67
  • 311
  • 403