๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2732

Checkbox and Enter/Return key

#2732
From: Martin Gaeckler
Date: Sun, 30 Apr 2000 00:00
18 lines
1253 bytes
Hi,

I have an applet containing several checkboxes among other controls.
When a checkbox has input focus and the user hits the enter or return
key the checkbox's state will be changed. My goal is to catch that event
and to perform other actions not changing the state of the checkbox. I
have added a keyboard listener to the checkboxes, but unfortunately I do
not get the KeyReleased events if the user hits the enter key. 

What can I do?

Martin

-- 
Phone: +49-89-65 30 95 63                      Fax: +49-89-65 30 95 64
WWW:                                            http://www.gaeckler.de
S-Mail:                                Arminiusstr. 3a D-81543 M๏ฟฝnchen
PGP-Key:                             http://www.gaeckler.de/pgpkey.txt
Technical Details
Message-ID: <390C4D17.64F5FAE2@gaeckler.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1089d0,ed012433d63bee40,start
X-Google-Attributes: gid1089d0,public
From: Martin Gaeckler <martin@gaeckler.de>
Subject: Checkbox and Enter/Return key
Date: 2000/04/30
Message-ID: <390C4D17.64F5FAE2@gaeckler.de>
X-Deja-AN: 617512931
Content-Transfer-Encoding: 8bit
Organization: Gaeckler Software
X-Accept-Language: de,en
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api