File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Barcode input Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Barcode input " Watch "Barcode input " New topic
Author

Barcode input

Dushyant Chhetri
Ranch Hand

Joined: Oct 28, 2009
Posts: 75
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

Joined: Jan 04, 2010
Posts: 48

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..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Barcode input