PDA

View Full Version : TextField keyListener does not provide any method to get the last key typed



tapanayan.manna
24 Dec 2010, 3:48 AM
Hi!!I want to get the keys typed into a text field.I could not find any way to get the last key typed for which the listener has been called.textField.getValue() always return the value contained in the text field except the last letter!!!Please help.

Condor
24 Dec 2010, 4:01 AM
Use the keyup event.

tapanayan.manna
27 Dec 2010, 10:32 PM
Thank you.Its working.