Article View: borland.public.jbuilder.java.swing
Article #9863Syncronization Problem
From: Hakan UNLU
Date: Thu, 13 Jan 2000 00:00
Date: Thu, 13 Jan 2000 00:00
24 lines
1346 bytes
1346 bytes
I have troble in syncronizing the events for two beans. I have created two beans Bean 1 is extended from a textfield and makes checking of its contents against the database. Focus_Lost event is used for the check routine. Bean 2 is extended from JButon and makes a search in the database. ActionPerformed event is used for this. Problem : I enter a Streing in bean 1 and press bean2. Bean2 actionperformed event runs simultaneously with focuslost of bean1 and the result is unpredictable since the search bean2 depends on verification of bean1. How can I force bean2.actionperformed to wait for bean1.focusLost. -- Hakan UNLU Hitit Computer Services ------------------------------------------------------------- Visit my virtual bookstore at http://surf.to/hakan-books ------------------------------------------------------------
Technical Details
Message-ID:
<85k2q9$6pa15@bornews.borland.com>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,5c3b1f3c26ca51e,start X-Google-Attributes: gid111d45,public From: "Hakan UNLU" <hunlu@yahoo.com> Subject: Syncronization Problem Date: 2000/01/13 Message-ID: <85k2q9$6pa15@bornews.borland.com> X-Deja-AN: 572010893 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing