Article View: borland.public.jbuilder.java.language
Article #18548Re: very slow JCMultiColumnList!
From: Carl Hewitt
Date: Tue, 09 Jun 1998 00:00
Date: Tue, 09 Jun 1998 00:00
18 lines
1327 bytes
1327 bytes
I would use a JTable of GridView (parent of Grid control). Build your own model, so that you are not going through the overhead of their add methods . Carl Kimmo P�ntiskoski wrote in message <355705B8.28E1E989@igd.fhg.de>... >I am using JCMultiColumnList class in dialog box where you can remove or >add items in to the list. JCMultiColumnList is ideal for my purposes, >but it has one BIG problem: adding items to it gets slower and slower >when more items are added. I have tested it with 260 items and the >adding takes about 3 minutes. And I can foresee over 1000 items in my >application. I used method addItem(object) where object is >java.util.Vector containing three Strings (one to each column). > >So any suggestions to speed my current system up or repleacing >JCMultiColumnList with some other component. >
Technical Details
Message-ID:
<6ljhhs$6ua13@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<355705B8.28E1E989@igd.fhg.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f74b3,638533385622a1d0 X-Google-Attributes: gidf74b3,public From: "Carl Hewitt" <carl@oop.com> Subject: Re: very slow JCMultiColumnList! Date: 1998/06/09 Message-ID: <6ljhhs$6ua13@forums.borland.com> X-Deja-AN: 361034845 References: <355705B8.28E1E989@igd.fhg.de> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language