🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Focus Lost Event

#9771
From: Tad Frysinger
Date: Tue, 25 Jan 2000 00:00
25 lines
1228 bytes
There is a new event in Kestrel (next version of Swing) for doing this, but
for now you have to requestFocus as a separate task as shown by the other
post in this thread.

Tad Frysinger (TeamB)

Ernesto Basc�n wrote:

> Hi...
>
> I want to validate a JTextField entry when it losses focus, if the value
> is right,
> I want to give the focus to the next focusable component, otherwise I
> want my
> JTextField keep the focus.
>
> I added a FocusListener to the text field; did override the focusLost
> method, but
> my text field cannot recover the focus again.
>
> Thanx in advance
>
> Saludos
>
> Ernesto
Technical Details
Message-ID: <388D9D1A.231EEB36@earthlink.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <387C8352.174553A5@linux.ucbcba.edu.bo>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,e21fc3e45ae60fbc
X-Google-Attributes: gid111d45,public
From: Tad Frysinger <tfrysinger@earthlink.net>
Subject: Re: Focus Lost Event
Date: 2000/01/25
Message-ID: <388D9D1A.231EEB36@earthlink.net>
X-Deja-AN: 577364139
Content-Transfer-Encoding: 8bit
References: <387C8352.174553A5@linux.ucbcba.edu.bo>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: tfrysinger@earthlink.net
Newsgroups: borland.public.jbuilder.java.swing