logo       

Re: speeding up search page: msg#00122

java.ulc.devel

Subject: Re: speeding up search page

Hi Cameron,

Swing's JComboBox supports a PopupMenuListener since JDK 1.4. Such a listener
can be used to fill the drop down list of a combo box the first time it used
(the combo box may be filled with an initial value).

I ordered an extension from Canoo for an IPopupMenuListener for the ULCComboBox
that was recently finished and you will find attached to this mail (EMPA.zip).

Observe that JComboBox has an error (cf. SwingComboBox.java):
When the JComboBox's list is dropped down the first time its height is
only one row high and not set to the number of rows defined by
comboBox.setMaximumRowCount(n). The extension corrects
this error.

Kind regrards
Christoph


>>> "Cameron Taggart" <cameron.taggart@xxxxxxxxx> 18.07.2006 19:14 >>>
I'm looking for some advice for ways to decrease the log in delay.
When a user logs in, the first thing they are presented with is a
search page. The fields on this page are determined by the client and
often there are between 15 and 25 fields. The fields are editable
combo boxes that show unique values to help them figure out what to
search on. I'm caching all of the unique values on the server-side,
but my hunch is that it takes a long while to transfer all the data in
the models of the combo boxes.

To increase performance...
* Is there a way to lazy load the combo box data?
* Aynchronously load the combo box data?

kind regards,
Cameron
_______________________________________________
ULC-developer mailing list
ULC-developer@xxxxxxxxxxxxxxx
http://lists.canoo.com/mailman/listinfo/ulc-developer

Attachment: SwingComboBox.java
Description: Text document

Attachment: EMPA.zip
Description: Zip compressed data

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise