🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Q: Catching KeyEvents in JTextFields ?

#13339
From: John O'Conner
Date: Fri, 14 Aug 1998 00:00
10 lines
890 bytes
This is a problem with input focus. You should explicitly set the focus to
the text area. You can do this programmatically or manually. Try clicking
in the text field.

yzhou wrote:

> Hi,
>
>    I am having problem in catching Keyboard Events in a
> simple Swing JTextField. It works on IE and Windows.
Technical Details
Message-ID: <35D4BA2F.C2188E16@pacbell.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35AE48FA.F8D55B8C@mtu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,5c3d472ae285f25a,start
X-Google-Attributes: gid111d45,public
From: John O'Conner <joconner@pacbell.net>
Subject: Re: Q: Catching KeyEvents in JTextFields ?
Date: 1998/08/14
Message-ID: <35D4BA2F.C2188E16@pacbell.net>
X-Deja-AN: 381253907
Content-Transfer-Encoding: 7bit
References: <35AE48FA.F8D55B8C@mtu.edu>
To: yzhou <yzhou@mtu.edu>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing