0

I should stop user from entering more than (lets say 10 ro 20 characters) in a text field because if he enters more than specified limit it throws exception from the database..

I tried to use custom code Textfield_txt = new javax.swing.JTextField(10);

but it is not working

please give your adivce on this

vivek
  • 404
  • 1
  • 5
  • 21
user3016435
  • 25
  • 1
  • 8

0 Answers0