A DESCRIPTION OF THE REQUEST :
It would be nice to have a function to get the state of a key. E.g. I need to detect in my mousewheel listener if the Ctrl key is down or not.
So I propose to add a function like this: boolean getKeyState(int key)
so I can use getKeyState(KeyEvent.VK_Control) to see if the key is down at the moment the function is called.
JUSTIFICATION :
It would be nice to have a function to get the state of a key. E.g. I need to detect in my mousewheel listener if the Ctrl key is down or not.
So I propose to add a function like this: boolean getKeyState(int key)
so I can use getKeyState(KeyEvent.VK_Control) to see if the key is down at the moment the function is called.
ACTUAL -
no possibility to get a keyState