-5

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,349
  • 16
  • 58
  • 97
Soykan
  • 53
  • 5

1 Answers1

0

Like everybody else whose asked to question, try using a

MadProgrammer
  • 336,120
  • 22
  • 219
  • 344
  • I solve this problem with using JFormattedTextField with changing formatterFactory property. – Soykan Jan 12 '14 at 20:51