I have a speed issue with a JTable. It has a column consisting of a JComboBox with a JTextField as an editor that acts as an interactive search. The JComboBox has about 30,000 entries in it (I know that’s too many). The problem is two fold. The first is getting focus. When clicking on the JComboBox it takes about two or three seconds for the JTextBox to get the focus and allow me to begin editing. The second problem is when selecting an item in the JComoBox. This takes about 3 or 4 seconds for the selection to actually show up in the JTextBox.
I am sure it is something in the table because I can use the same JComboBox with the same JTextField with the same data outside the table and it works fine. In fact I’ve even increased the items in the JComboBox to over 150,000 and the speed is still acceptable. It appears the JTable is causing the problem.
Any ideas?
Thanks in advance.
Jeff
I am sure it is something in the table because I can use the same JComboBox with the same JTextField with the same data outside the table and it works fine. In fact I’ve even increased the items in the JComboBox to over 150,000 and the speed is still acceptable. It appears the JTable is causing the problem.
Any ideas?
Thanks in advance.
Jeff