• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Barcode input

 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Ranch Hand
Posts: 48
Oracle MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
reply
    Bookmark Topic Watch Topic
  • New Topic