🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JTextField.requestFocus

#9037
From: Manfred Wretschko
Date: Tue, 06 Jun 2000 00:00
11 lines
861 bytes
When I try to set the focus to a JTextField inside the focusLostEvent of
another JTextField, the requestFocus is ignored and the focus is set to
the next focusable controll.

Any idea why ?

I want to validate the content of a field and want the focus so remain
inside it, as long as the contant is not valid.

thx in advance
Manfred
Technical Details
Message-ID: <393D34F5.C64FECAE@chello.at>
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,e946685483406185,start
X-Google-Attributes: gid111d45,public
From: Manfred Wretschko <manfredw@chello.at>
Subject: JTextField.requestFocus
Date: 2000/06/06
Message-ID: <393D34F5.C64FECAE@chello.at>
X-Deja-AN: 631806093
Content-Transfer-Encoding: 7bit
X-Accept-Language: de-AT,en
Content-Type: text/plain; charset=us-ascii
X-Trace: 6 Jun 2000 10:18:55 -0800, 212.186.32.27
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing