🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18915

JBuilder listControl can only hold 1,724 elements?

#18915
From: Alex Humphreys
Date: Mon, 06 Apr 1998 00:00
13 lines
1008 bytes
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: <3528FDF0.AF222D9C@sema4.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,158a1e7a5c840201,start
X-Google-Attributes: gidf74b3,public
From: Alex Humphreys <ahumphreys@sema4.com>
Subject: JBuilder listControl can only hold 1,724 elements?
Date: 1998/04/06
Message-ID: <3528FDF0.AF222D9C@sema4.com>
X-Deja-AN: 341385981
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language