posted 20 years ago
Hi,
I wnat to create a JTextField that accepts 0-9 only. I tried the following code,
it worked, but jTextField.selectAll() and jTextField.setText("String") stopped working. I can't seem to figure out the reason. Can someone please help?
Thanks a lot!