Article View: borland.public.jbuilder.java.api
Article #1777Re: Keystroke Simulation
From: Reid Pinchback
Date: Mon, 01 Oct 2001 18:45
Date: Mon, 01 Oct 2001 18:45
12 lines
1657 bytes
1657 bytes
Nifty! I hadn't noticed Robot before. I like that solution a lot better for simple ASCII character keyboard events. Looks a bit fussier if you want to cause the equivalent of a key typed event for an event stream with modifier keys, but it would be more robust for unit or stress testing of GUI event handling than simply queueing a bunch of key typed events. Torsten Welches wrote: > look at java.awt.Robot (JDK 1.3 and later)
Technical Details
Message-ID:
<3BB8B9A7.7489284D@mpi.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!paloalto-snh1.gtei.net!news.gtei.net!dfiatx1-snr1.gtei.net.POSTED!not-for-mailReferences:
<3bb5f283_2@dnews> <3bb8ac31$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,9f1d35906552f06f X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-10-01 11:45:32 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!paloalto-snh1.gtei.net!news.gtei.net!dfiatx1-snr1.gtei.net.POSTED!not-for-mail Message-ID: <3BB8B9A7.7489284D@mpi.com> From: Reid Pinchback <pinchbac@mpi.com> Organization: Millennium Pharmaceuticals, Inc X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api Subject: Re: Keystroke Simulation References: <3bb5f283_2@dnews> <3bb8ac31$1_1@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 13 X-Trace: /wmC6FyCMnr6Q1Xin/EXoUCb9MsxFcWA3/1UwjUxcJ8ssHzkG9qHjM4tui9AY67rAbXyKxCoZGEc!CQD+lXKTPbsvVr1mk/TJw3w0jvz1SGw/Njp5L5yYIaohab84G70sy6cw8DpV0Q== X-Complaints-To: abuse@gte.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Mon, 01 Oct 2001 18:45:30 GMT Distribution: world Date: Mon, 01 Oct 2001 18:45:30 GMT