I have an application written in Java running on a machine (Linux / Windows). I want this application to run as a background application so that it does not interrupt when using other applications on the system. Now I want to pop up on the screen and show some buttons (for performing some tasks based on the choice) when the QR code is scanned using a scanned one attached to the USB port. When this scan happens, my Java application, which launches a pop-up window, launches in the system tray.
- Edit--
I used key listeners to identify the barcode scan and extract information from the database based on what is being scanned. But when scanning my application was open. So I hooked up AWT-level action listeners so that key strokes / scans are caught and eliminated. But now in the current case, I will not have active windows. SO WHICH I NEED TO WRITE A SCANDED INPUT INPUT WHEN THE APPLICATION IS MINIMIZED IN THE SYSTEM TRAY.
source
share