🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: KeyPress

#11004
From: Gavster McRavster
Date: Fri, 16 Jul 1999 00:00
14 lines
1276 bytes
the simple answer is yes. but bear in mind that keys are never sent to an
application. only events. so use the method available to fire a keypress
event complete with the parameters describing the key to be sent and add the
key listener to your application code and you should be away.

Yasser <ymsherif@cs.twsu.edu> wrote in message
news:378E6476.677DC081@cs.twsu.edu...
> I was wondering if we could send keys to an application. I want to send
> enter and tab keys to the application without the user pressing them .
> Is ther a way i could accoplish this
>
> thanks
> yasser
>
Technical Details
Message-ID: <932113676.24874.0.nnrp-07.c1c3e175@news.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <378E6476.677DC081@cs.twsu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,49cd7ee7169ea9e9
X-Google-Attributes: gid111d45,public
From: "Gavster McRavster" <gavinc@demon.net>
Subject: Re: KeyPress
Date: 1999/07/16
Message-ID: <932113676.24874.0.nnrp-07.c1c3e175@news.demon.co.uk>
X-Deja-AN: 501660738
X-NNTP-Posting-Host: gavinc.eng.demon.net:193.195.225.117
References: <378E6476.677DC081@cs.twsu.edu>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 932113676 nnrp-07:24874 NO-IDENT gavinc.eng.demon.net:193.195.225.117
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing