JComboBox not visually updating after setSelectedItem
Hi there,
I'm having a strange problem wherein I have a JComboBox item, I call setSelectedItem, and visually the control does not update. It will update if I drag the window wider or move my mouse over it, but not immediately after the call. Isn't there some sort of hookup already there such that calling setSelectedItem should automatically update the combo box visually? What am I missing? Do I have to call some sort of repaint on the control after setting the selected item, or have I done something improperly?
Thanks in advance for any help you can provide me with -- this is driving me nuts!
Edited by: aardvarkk on Nov 10, 2010 7:21 PM