I am having a display issue when changing list elements within a model that is attached to a JComboBox. Using the attached code, perform the following:
launch code.
click on button "list2"
select any element in the Combobox.
click on button "list1".
try to select an element in the combobox.
the popup display is of the correct length, but the list is empty.
THis problem occurs when selecting an element from a smaller list as the FIRST ACTION. If I select from a longer list first (click on list one and select anythingthen go to list 2) this behavior does not appear.
I am on a Macintosh running Snow Leopard (10.6) and using
Java 1.6.0
Any ideas?
Thanks
I have attached a screen shot showing the issue as well as placing code in the body of the text.
//////