Answered Questions

  • How to check the status of a caps lock key..?  

    You can do it without using key event, by creating an artificial key event using java.awt.Robot class to generate a "simple caracter" key press (for instance KeyEvent.VK_A). Sample Source Code -- May not be accurate but the concept is as follows. import java.awt.*;import java.awt.event.*;public class Test {      public static void main(String[] args) throws AWTException...

    hobocat

    • Dec 20th, 2017

    There is same bug: when I changed the capslock's status,the check result change nothing. "java public static void main(String[] args) throws InterruptedException { whil...