My action listener on a JComboBox invokes a thread. I would like the component to be disabled until the thread completes.
I have tried calling seEnabled(false) when the thread start and setEnabled(true) when it completes. Unfortunately setEnabled(false) clears the combo box list as well.
Is there a way of disabling the component but retain the original list?