Article View: borland.public.jbuilder.java.language
Article #19089Re: Choice Control Population is brutally slow
From: James D. Frentress
Date: Fri, 13 Mar 1998 00:00
Date: Fri, 13 Mar 1998 00:00
28 lines
1458 bytes
1458 bytes
Darcy Schultz wrote: > Is it just me, or does it take forever to load a Choice control? I'm > trying > to dynamically update the contents of these controls at runtime. My > query > is talking about a second to execute and then it takes 10-15 seconds > more to > populate four choice controls with about forty rows each. I even hid > the > controls to avoid the repainting. What am I missing? > > Darcy. It's just you ;) Actually, I'm having performance and memory consumption problems everywhere with JBCL but this doesn't seem to be one of them. I do this without performance problems to load column names into a choice. choiceControl1.setItems(dm1.getClientSearch().getColumnNames(dm1.getClientSearch().getColumnCount())); However, if you notice that your runtime increases as you make repeated refresh() calls on your datasets, then I'm in the same boat. Jim
Technical Details
Message-ID:
<35099DE0.3C3B7988@ForAWhile.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35097f02.0@news.cadvision.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,2b2d8460e40a6825 X-Google-Attributes: gidf74b3,public From: "James D. Frentress" <Broken@ForAWhile.com> Subject: Re: Choice Control Population is brutally slow Date: 1998/03/13 Message-ID: <35099DE0.3C3B7988@ForAWhile.com> X-Deja-AN: 333795856 Content-Transfer-Encoding: 7bit References: <35097f02.0@news.cadvision.com> X-Priority: 3 (Normal) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Microsoft Newsgroups: borland.public.jbuilder.java.language