I have a barcode scanner and in my java application I have to bring a popup to display all the information associated with the barcode from database when the product is scan
In some way similar to @Cyrusmith solution I have created a 'proof of concept' solution (with several limitations right now, but you are invited to fix them :) ) trying to solve the limitations on the previous solutions in this post:
See https://stackoverflow.com/a/22084579/320594