Hi. This is kinda difficult to explain - I'm writing a user login program and need to be able to collect timing data - time between keystrokes and keyholds - for each password entered. I'm trying to get a KeyListener to record the time (at the moment currentTimeMillis...) for each key press and each key release on a normal password dialog. Any ideas?
posted 14 years ago
Well it sounds like you are doing it just fine. Put a KeyListener on your JPasswordField or your JDialog and listen for KeyEvents. So what exactly is it that you AREN'T sure about.
"JavaRanch, where the deer and the Certified play" - David O'Meara