Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Barcode input

 
Dushyant Chhetri
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a swing interface and the UI captures events from either a Barcode Gun or a keyboard.
Consider it to be a simple POS scenario where the product barcodes are scanned.

Now my question is how can we detect the barcode scan such that once the product Barcode is scanned it populates the product details unlike typing in the product barcode and then hitting submit /enter.

How can we in other wise detect the barcode submit signal.

 
Ivan Bisevac
Ranch Hand
Posts: 48
Java MySQL Database Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dushyant Chhetri wrote:I have a swing interface and the UI captures events from either a Barcode Gun or a keyboard.
Consider it to be a simple POS scenario where the product barcodes are scanned.

Now my question is how can we detect the barcode scan such that once the product Barcode is scanned it populates the product details unlike typing in the product barcode and then hitting submit /enter.

How can we in other wise detect the barcode submit signal.



You don't have to detect barcode submit signal. Just go to text field where you want to insert barcode, then scan product with barcode scanner and text field will populate with barcode value..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic