Java front-end for scanning barcodes into database.