Open georgesakiki opened 9 years ago
how to make text field only 4 characters ?
You can use a code similar to this within a keyTyped event:
if(jTextField1.getText().length()>=4){ evt.consume(); }
okey thank u :)
how to make text field only 4 characters ?