In my program, I am trying to capture a particular set of keys. In theory, I would like to set up a thread and buffer that will scan through the input send by the keyboard. When a match is made, it will throw it back to the main method. My question is: What is the name of the class that will assist in setting up a input capture via keyboard?