Monday, February 3, 2014

Set Caps Lock on Program

class capslockon
{
   public static void main(String args[])
   {
      java.awt.Toolkit.getDefaultToolkit().setLockingKeyState(java.awt.event.KeyEvent.VK_CAPS_LOCK, Boolean.TRUE);
   }
}

No comments:

Post a Comment