Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39420
| Path | csiph.com!news.bbs.nz!.POSTED.agency.bbs.nz!not-for-mail |
|---|---|
| From | Eric Sosman <esosman@comcast-dot-net.invalid> (Eric Sosman) |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: How can I read individual keystrokes? |
| Date | Sat, 04 Apr 2020 20:38:58 +1200 |
| Organization | fsxNet Usenet Gateway | bbs.nz/#fsxNet |
| Message-ID | <3174867@f38.n261.z1.binkp.net> (permalink) |
| References | <1961251965@f38.n261.z1.binkp.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| Injection-Info | news.bbs.nz; posting-host="8IWYKlztXHa0+IViEdY46zrq8kpk7dC9fTbT74JiSDQ"; logging-data="14960"; mail-complaints-to="abuse@news.bbs.nz" |
| User-Agent | VSoup v1.2.9.47Beta [95/NT] |
| X-MailConverter | SoupGate-Win32 v1.05 |
| X-Comment-To | Martin Gregorie |
| Xref | csiph.com comp.lang.java.programmer:39420 |
Show key headers only | View raw
On 4/4/2020 8:17 PM, Martin Gregorie wrote:
> I have a need to read individual key presses as they are made. [...]
> I have a feeling that I'm missing something obvious and so would
> appreciate it if any of you can point me in the direction of a pure Java
> way to capture individual key presses.
In a Swing setting this should be straightforward ("should be" --
hah!) even if somewhat verbose. For a "console" app I'm not so sure, and for
JavaFX I've no clue at all.
Can you offer any details of your application?
--
esosman@comcast-dot-net.invalid
Trump wants to star as The Lyin' King. Two hundred ninety-one days to go.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How can I read individual keystrokes? Martin Gregorie <martin@mydomain.invalid> (Martin Gregorie) - 2020-04-05 00:17 +1200
Re: How can I read individual keystrokes? Eric Sosman <esosman@comcast-dot-net.invalid> (Eric Sosman) - 2020-04-04 20:38 +1200
Re: How can I read individual keystrokes? Arne Vajhøj <arne@vajhoej.dk> (Arne Vajhøj) - 2020-04-04 22:04 +1200
Re: How can I read individual keystrokes? Martin Gregorie <martin@mydomain.invalid> (Martin Gregorie) - 2020-04-05 11:22 +1200
csiph-web