Article View: borland.public.jbuilder.java.language
Article #18924Re: JBuilder listControl can only hold 1,724 elements?
From: Alex Humphreys
Date: Tue, 07 Apr 1998 00:00
Date: Tue, 07 Apr 1998 00:00
32 lines
1664 bytes
1664 bytes
And now that I'm using the AWT's List instead of JBuilder's ListControl, I
find that List has a bug in the JRE, where if there's a large number of items
it takes forever to populate. (8 minutes for 1500).
Anybody know a workaround for either of these problems?
Clint Brewer wrote:
> Hello Alex,
>
> It appears that the problem you described is a bug in our listControl.
> It's a known bug,
> and with any luck it should be fixed in the next release.
>
> good luck,
> Clint Brewer
>
> Alex Humphreys wrote:
>
> > I'm trying to add Items to a JBuilder listControl, and I'm not able to
> > add more than 1,724 elements. What's going on? Is there an upper limit
> > in listControl but not in AWT's List? Why? Here's the code, which
> > works fine with list, but after 1724 with ListControl, I get grey space
> > in the control, but no elements. WEIRD.
> >
> > int num;
> > num = 1;
> > do {
> > my_listControl.addItem(new Integer(num).toString());
> > num += 1;
> > } while (num < 5000);
Technical Details
Message-ID:
<352A419A.D2D69FB2@sema4.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3528FDF0.AF222D9C@sema4.com> <3529C993.8E59936A@borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,158a1e7a5c840201 X-Google-Attributes: gidf74b3,public From: Alex Humphreys <ahumphreys@sema4.com> Subject: Re: JBuilder listControl can only hold 1,724 elements? Date: 1998/04/07 Message-ID: <352A419A.D2D69FB2@sema4.com> X-Deja-AN: 341719959 Content-Transfer-Encoding: 7bit References: <3528FDF0.AF222D9C@sema4.com> <3529C993.8E59936A@borland.com> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language