I am working on a library project using an RFID scanner. So the RFID scanner will input the code number to the 
textfield as long as the cursor is on it. So my problem is I want my JAVA project to be like any RFID system that
you just need to swipe the RFID card and you are logged in. Please help me how can I automatically press enter
or click the button when the textfield detected that the RFID code/text is on the textfield already. This means a
lot. Thank you everyone.