I have been doing some research to do with reading barcodes, but each time I come to the same conclusion, where a user enters the barcode number and the program creates a labeled barcode. My question therefor is ... can an applet read barcodes? Basically what I would like to do is use a scanner gun to read the barcode for invertory. Phil
Well, there would have to be some way for Java to interface with the barcode reader... this would require some JNI... ( Java Native Interface - write a C/C++ program to do the machine dependent stuff to read the port the scanner is plugged into, and make Java able to interface with it. ) unless the scanner had Java classes written for it already... ( which is rather unlikely... ) Also, an applet may not be the best choice for this... applets usually run on webpages, and are not supposed to interact with the users actual computer except through the browser for security reasons. Interacting with a barcode scanner would most probably be against security restrictions... so you will either need to design your program as an application, or read up on signed applets if it simply must run as an applet...
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads