But as soon as I use the scroll bar, the JComboBoxes lose their drop down, the button is still there, but the popup list never appears. The data is still present as you can scroll through the values using the up and down arrow keys. Even wierder, is that any JComboBox that is displayed without needing to scroll into view seems to have lost its popup list anyway! I will mention, that the JComboBoxes are filled dynamically by adding entries to their model directly, rather than using the Object or List contructors, and frankly that seems to make things hella wierd anyway.
I have tried every combination of invalidate, validate, revalidate, repaint and pack that I can think of, I've even sacrificed some Diet Coke to the Swing Gods, but all to no avail.
Does any one have any ideas what is going on?
Thanks in advance,
[Edit: Curses to all auto whitespace trimmers!] [ July 23, 2004: Message edited by: Christian Cooper ]
Joined: Jul 23, 2004
Ok upon further investigation, the JScrollPane seems to be largely irrelivent...
As does the way that I set a model and then fill it with data after instantiation...