I installed a barcode scanner from Datalogic in order to read the barcode into a java text field. However, when I look at the barcode in Swing, the resulting text is garbage. I can not use this. On standalone java.awt.TextField works fine, but when I integrate this into my code, it also creates unnecessary garbage characters.
I donβt know if I need a specific driver for JAVA, I tried to convert a string from UTF-8 to ISO-88 ... to no avail.
I looked at it from 2 days in vain.
Any help would be greatly appreciated.
thanks
-innocent
java swing barcode
user3524961
source share