What classes and methods do you have for reading the barcode? What do the method(s) return?
Once you have read the barcode's value into a variable, it should be easy to put that value into a...