简体   繁体   中英

How to put the BarCode reader/scanner output in textarea of form developed in swing Java

I have one form with the BarCode on it.Whenever I read it by BarCode reader,it shows me the output at the cursor position on screen instead of showing it at the textarea on the form developed in Swing Java. What should I do for this ?

有两个选项,使表单字段在扫描之前具有焦点...或捕获键盘事件并将它们定向到表单字段。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM