Article View: borland.public.jbuilder.java.swing
Article #7470validate() creates new thread??
From: Vladimir Altuna
Date: Tue, 23 Jan 2001 16:54
Date: Tue, 23 Jan 2001 16:54
34 lines
1988 bytes
1988 bytes
I have a problem whith method validate() (from Container or Component).
Let's have a Container c.
and let's resize it;
c.setSize(new Dimension(.....));
c.validate();
validate() updates all container's children...
next instruction deals with some children that
SHOULD have been updated, but that are NOT updatet yet.
It seems that validate() creates a new thread...
How can I tell current thread to wait untill validate is death?
I have tried Thread.yield() just after validate() but it doesn't
work.
Can somebody help me?
cheers,Vladimir.
--
================================================================================
Vladimir ALTUNA - Ste SEGIME
RENAULT - Service 18741 tel : (33) 1 30 03 28 00
TCR AST 0 50 fax : (33) 1 34 95 36 30
1 Avenue du Golf
78288 Guyancourt
France
================================================================================
Technical Details
Message-ID:
<3A6DB738.86F9E676@renault.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.icl.net!colt.net!Pollux.Teleglobe.net!teleglobe.net!renault.fr!news.renault.fr!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,65082032c2eeed28,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2001-01-23 08:54:53 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!isdnet!newsfeed.icl.net!colt.net!Pollux.Teleglobe.net!teleglobe.net!renault.fr!news.renault.fr!not-for-mail From: Vladimir Altuna <Vladimir.Altuna-renexter@renault.com> Newsgroups: borland.public.jbuilder.java.swing Subject: validate() creates new thread?? Date: Tue, 23 Jan 2001 17:54:16 +0100 Organization: Renault Lines: 37 Distribution: world Message-ID: <3A6DB738.86F9E676@renault.com> NNTP-Posting-Host: renegade.ava.tcr.renault.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ons.mc2.renault.fr 980268856 14134 138.21.204.231 (23 Jan 2001 16:54:16 GMT) X-Complaints-To: abuse@renault.fr NNTP-Posting-Date: 23 Jan 2001 16:54:16 GMT X-Mailer: Mozilla 4.7 [en] (X11; I; IRIX64 6.5 IP30) X-Accept-Language: en