Java Swing Controls (ComboBox) noticeable performance drop off
Hi
I have come an interesting problem when running tests against an application made up of java swing controls.
The application has a primary window and in some cases where functionality is called a secondary dialog (at the same level as the primary window in the object browser) is made visible
What I am noting is that should I interact with a ComboBox in the secondary window (even with 100+ items) it populates in almost instantly. When i interact with the same base control (JComboBox) on the main window it can take anything up to 20 seconds to select the item.
I at first thought it was related to the lookup method (FindChildEx) for the specific control I was using and the depth of the control within the structure, but I have now dis-proven that, even though there is a minor delay.
I have put timers in my code to determine where the main delay is occurring and it is at the ClickItem stage. Having scoured the forum I found a thread that explained about the dropdown component and its population possibly being responsible.
Having put code in place to click, locate and select an item from the ComboBox.list component, I still notice a significant delay in selecting the item (even when the dropdown list only contains 3 items)
Has anyone else noticed any similar issues and found a working solution?