🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JTextField keyTyped event

#10547
From: Ernesto Bascón Pantoja
Date: Mon, 06 Sep 1999 00:00
22 lines
1197 bytes
Hi:

I wrote before about this problem:

I use JBuilder 3. I have a JTextField; I added to it a KeyListener and I
implemented the three key events: KeyPressed, KeyReleased and KeyTyped.

When I tested the component, when I pressed a key, the KeyTyped
event isn't trigged and it's ignored; also I saw that the
KeyEvent.consume() method is ignored.

I ran the same source code using JBuilder2 and it works!!!

Is it a bug?... if it is, is there a JDK version that fixes it?
And, if it is not a bug, how can I trig a KeyTyped event and
how can I consume this trigged event?

I'm waiting for an answer to my question

Thanx in advanx

Ernesto
Technical Details
Message-ID: <37D44AF0.5C4E1D6D@estudiantes.ucbcba.edu.bo>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,eba90f3ae8379edd,start
X-Google-Attributes: gid111d45,public
From: Ernesto Bascón Pantoja  <bascone@estudiantes.ucbcba.edu.bo>
Subject: JTextField keyTyped event
Date: 1999/09/06
Message-ID: <37D44AF0.5C4E1D6D@estudiantes.ucbcba.edu.bo>
X-Deja-AN: 521880254
Content-Transfer-Encoding: 7bit
Organization: UCB
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing