🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Focus Lost Event

#9779
From: Ernesto Bascón Pantoja
Date: Wed, 26 Jan 2000 00:00
42 lines
1647 bytes
Hi:

Thank you very much... I used the method from SwingUtilities and it
works...
I hope to use the Swing next version very soon.

Saludos

Ernesto Basc�n

Tad Frysinger wrote:
> 
> 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

-- 
--------------------------------------------------------
		Hand fits giving, so do it
--------------------------------------------------------
Technical Details
Message-ID: <388EFB1E.5D8AF3D4@ucbcba.edu.bo>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <387C8352.174553A5@linux.ucbcba.edu.bo> <388D9D1A.231EEB36@earthlink.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,e21fc3e45ae60fbc
X-Google-Attributes: gid111d45,public
From: Ernesto Bascón Pantoja <bascone@ucbcba.edu.bo>
Subject: Re: Focus Lost Event
Date: 2000/01/26
Message-ID: <388EFB1E.5D8AF3D4@ucbcba.edu.bo>
X-Deja-AN: 577833923
Content-Transfer-Encoding: 8bit
References: <387C8352.174553A5@linux.ucbcba.edu.bo> <388D9D1A.231EEB36@earthlink.net>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Organization: UCB
Mime-Version: 1.0
Reply-To: bascone@ucbcba.edu.bo
Newsgroups: borland.public.jbuilder.java.swing