1 Reply Latest reply: Oct 7, 2010 5:31 AM by DarrylBurke RSS

    CAPS lock status in Linux

    803718
      Hi,
      I'm trying to get the CAPS lock status in Java to display the same to the user in my application. I've used the code

      Toolkit.getDefaultToolkit().getLockingKeyState(KeyEvent.VK_CAPS_LOCK) .

      This works properly in Windows but throws UnsupportedOperationException in Linux. Can you help me to get the CAPS lock state in Linux.

      Regards
      Ruban