Article View: borland.public.jbuilder.java.swing
Article #13109How to speed up the listBox.
From: Andy Nguyen
Date: Wed, 23 Sep 1998 00:00
Date: Wed, 23 Sep 1998 00:00
7 lines
1024 bytes
1024 bytes
My listBox is loaded with about more than 1000 items from a dataset and dynamically populated by a JComboBox. I am using the JBuilder 's filter technique to update the list as the value in the comboBox changed. It is noticebly and untoleratedly slow. So I changed the technique to parameterized query approach. It seemed a little bit better but still slow. I rather go for the filter one since I don't want to invoke my remote database often. Is there any way to speed things up.
Technical Details
Message-ID:
<3608F819.465FE14A@turing.scs.carleton.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,c8f1814e0d620ad1,start X-Google-Attributes: gid111d45,public From: Andy Nguyen <nguyevu@turing.scs.carleton.ca> Subject: How to speed up the listBox. Date: 1998/09/23 Message-ID: <3608F819.465FE14A@turing.scs.carleton.ca> X-Deja-AN: 393983965 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing