I'm developing an application using the natives components like Form and List.
But, if the key 5 is pressed for 3 seconds, I have to do an action.
I know that by using Canvas I have the methods keyPressed and keyReleased.
But my question is, is it possible to get key events when using a Form or a List?
Thanks in advance.