anyone have any idea about how to create java program that can read barcode
ZXing provides Java source code that reads most any common format (UPC, EAN, QR codes, etc.). It provides source to a complete Android and J2ME app, and source for a basic Java-based app.
You have to understand how barcode readers work, then you need to sort all the information you have gathered and create neat UML diagrams so that you could organize everything you'll need.
But I think this will need more than Java to work, it needs some computer engineering skills as well.
Look at the open source Java libraries to generate barcodes such as Barbecue and Barcode4J
http://barcode4j.sourceforge.net supports most formats like Code 39, UPC-A, UPC-E, EAN-13 etc
Have a look at JavaBar Barcode Decoding/Rendering Library. It's written in 100% Java, and released under a BSD license.
精彩评论