× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
ivangron reported 2012-09-17T19:15:58Z  · nhilam last modified 2018-03-19T20:44:12Z

CComboBox additem() 1 at a time is very slow


Dev
QA
Priority Major
Complexity Unknown
Component App - General
Version Future - PM
  We have been using the additem() method of a jComboBox() to create the item list for combo boxes.  This process is very slow and if we know what the list is before hand it is much better to create the combo box model with the list and then just set the combo box model.  This will greatly improve GUI speeds where the combo box model creation was the major bottle neck.  Made some changes to the CComboBox() class to enhance the model creation speed.  We need to go through GUI code and make sure to use the setItems() method when we have the list of items already and are creating a new model.  We can still use additem() when we are just adding an item but should be weary as this method is slow...
  I did some initial changes to the create table GUI already and it works much faster...
Revision: 29291

Issue #7595

New
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017