Just wondering if anyone can help. I have a gui and have assigned a KeyListener to it, It recognizes keyboard input for standard keys but doesnt seem to recognise special keys like shift and function keys? Is there some special way to be able to get it to react to function keys. I need to be able to store when a shift key is pressed or when 'F2' is pressed. To give you an idea im doing a replica of MineSweeper and need it to restart the game if F2 is pressed and need to be able to get the shift and return key for the cheat to work. Any help woul dbe great.
Thanks in Advance