🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JTextField focus lost

#8322
From: Thomas G�lden
Date: Wed, 04 Oct 2000 00:00
14 lines
1155 bytes
In the FocusLost event of JTextField, I try to check what the user has typed
in. If there is an error I show a message.

My problem is, that apparently the FocusLost event gets called twice ! I got
two messages each time there is an error, and a system.out.println()
statement at the beginning of the event method shows, that it is indeed
called twice !

Is this a known bug in Swing or am I missing something ?

Thanks for help in advance ...

Thomas G�lden
Thomas.Guelden@gla.bayern.de
Technical Details
Message-ID: <8rfa5k$r3q$1@isp-m-srv06.izb.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,2671acd804160d6f,start
X-Google-Attributes: gid111d45,public
From: "Thomas G�lden" <Thomas.Guelden@gla.bayern.de>
Subject: JTextField focus lost
Date: 2000/10/04
Message-ID: <8rfa5k$r3q$1@isp-m-srv06.izb.net>
X-Deja-AN: 677442823
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-Complaints-To: abuse@izb.net
X-Trace: isp-m-srv06.izb.net 970664948 27770 212.34.74.66 (4 Oct 2000 13:09:08 GMT)
Organization: IZB - Internet News Service
X-MSMail-Priority: Normal
NNTP-Posting-Date: 4 Oct 2000 13:09:08 GMT
Newsgroups: borland.public.jbuilder.java.swing