Article View: borland.public.jbuilder.java.swing
Article #9858Focus Lost Event
From: Ernesto Bascón
Date: Wed, 12 Jan 2000 00:00
Date: Wed, 12 Jan 2000 00:00
19 lines
926 bytes
926 bytes
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:
<387C8352.174553A5@linux.ucbcba.edu.bo>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,e21fc3e45ae60fbc,start X-Google-Attributes: gid111d45,public From: Ernesto Bascón <bascone@linux.ucbcba.edu.bo> Subject: Focus Lost Event Date: 2000/01/12 Message-ID: <387C8352.174553A5@linux.ucbcba.edu.bo> X-Deja-AN: 571623009 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: UCB Mime-Version: 1.0 Reply-To: bascone@linux.ucbcba.edu.bo Newsgroups: borland.public.jbuilder.java.swing