Java and barcode scanners
Hi All,
i have following constellation :
a scanner which is a keyboard pass through device attached to my PC.
I would like to scan something into a JTextField.
At the beginning i saw that the string which was scanned was not displayed properly in the JTextField but at the same time i was able to do the same scan operation in e.g. "Notepad".
After a few tries i figured out that this is depends on transmission speed from the scanner into the PC. Then i looked into the scanners manual and find a setting where you can set the "time-out between characters". The default was 0 ms. After i set it to 10ms i had no problems with that. The string was now displayed properly in the JTextField. BUT
i also try to run the application on a different PC which is much slower (200MHZ instead of 550MHZ). And the result was the same as by the beginning. The application sometimes show the string correct and sometimes a few characters was dropped by "java".
--
My question is now is there any way to catch the input in something like a Buffer and then let display it in the JTextField. Because in my mind this is the only way it should work for each PC.
Rgds
baydin

