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

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.

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

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