Rob Camick wrote:That is an OS level event in Windows and is handled by the OS.
Can it be done using JNI or is there a workaround ?
Does anybody know how VNC handles it ? Of course there is an option in VNC Viewer [ Options -> Inputs tab -> Check box stating (Pass special keys directly to server) ] but couldn't get the implementation in it's source code.
I am trying to capture the Alt+Tab combination key from my custom JFrame application. Is it possible under Java?
key events are fired by the component; now there should be a component( JComponent) which fires these key events and your JFrame is listening to these key events and in the implementation you filter the one which you are interested in and take any further action or consume the event etc..
In your case, do you have any of these component? i.e JTextField or JTextArea ?