La tecla de verificación se presiona Java
if (evt. getKeyCode() == KeyEvent. VK_SHIFT)
Long Lynx
if (evt. getKeyCode() == KeyEvent. VK_SHIFT)
how to recognize a pressed key in java