Wednesday, April 18, 2001 11:26 PM
you can add the KeyListener to that JTextField and then check for the KeyEvents for the backspace and enter key and if the condition is true u can write whatever you want to do with the text field. the KeyCode for both the keys is
VK_BACKSPACE and VK_ENTER. i hope it works for u.if u need the code for it. reply back, i'll mail you.