-4

I want to do calc with java. I am using Netbeans IDE. I want to make my JTextField allow only double numbers. What is the shortcut code to do this?

keyser
  • 18,829
  • 16
  • 59
  • 101
Soykan
  • 63
  • 6

1 Answers1

0

Like everybody else whose asked to question, try using a

MadProgrammer
  • 343,457
  • 22
  • 230
  • 366
  • I solve this problem with using JFormattedTextField with changing formatterFactory property. – Soykan Jan 12 '14 at 20:51