🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1053

Re: GUI interface with Laser Scanner

#1053
From: Kevin Dean
Date: Mon, 26 Apr 2004 20:46
38 lines
2643 bytes
Laser scanners typically operate in what is called "wedge" mode.  That means
that, when you scan the label, the data from the label is entered as if it
came from your keyboard.  (Historically, older laser scanners plugged in
between the keyboard and the computer, hence the term "wedge".)

Word, Excel, Notepad etc. don't know about laser scanners.  They process the
keystrokes that the laser scanner generates without knowing anything about
the source.

At first blush, I suspect that the edit field you are working with has not
been selected properly.  You should be able to type into the field without
the laser scanner.  If typing produces nothing, then the field hasn't been
selected.  Click on the field with the mouse and try again.  If that works,
then try the laser scanner.

You can force the field to be selected by using the requestFocus() method
when the form is displayed:

myTextField.requestFocus();

-- 
Check out our latest white papers at
http://www.datadevelopment.com/papers/index.html

BladeNET Scores With Borland Enterprise Tools
Team Development with JBuilder and Borland Enterprise Server

Dolphin Data Development Ltd.
http://www.datadevelopment.com/

"Lovlish" <lovlish@perfumeworldwide.com> wrote in message
news:408d309d$1@newsgroups.borland.com...
>
> I need to know how to interface a laser scanner that acts as an extension
to the keyboard. When something is scanned, it is input onto a text
document, notepad, wordpad, and excel sheet automatically. But it does not
enter any data into the GUI user prompt pop up window. Can someone please
help and teach me how to interface the Java program to the Laser Scanner.
Technical Details
Message-ID: <408d7592$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <408d309d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,5d6c7ed2462a9a6f
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-04-26 14:10:16 PST
From: "Kevin Dean" <NkOdSePaAnM@datadevelopment.com>
Newsgroups: borland.public.jbuilder.java.swing
References: <408d309d$1@newsgroups.borland.com>
Subject: Re: GUI interface with Laser Scanner
Date: Mon, 26 Apr 2004 16:46:50 -0400
Lines: 40
Organization: Dolphin Data Development Ltd.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 24.57.150.243
Message-ID: <408d7592$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1083012498 24.57.150.243 (26 Apr 2004 13:48:18 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail