ComboBoxCellEditor and dynamic values [message #456906] |
Mon, 13 June 2005 02:38 |
Mike Wille Messages: 2 Registered: July 2009 |
Junior Member |
|
|
Hello,
I am working on an application that is using a table with columns that
can be edited. There are two columns that are using ComboBoxCellEditor
to edit the data. Both of these ComboBoxCellEditors use lists that are
populated after the table is setup. I could, potentially, read one of
the lists before the table is created. But the second list is derived
off of the first list (i.e., it is is a key into another table).
So my question is:
How do you populate the list items of a ComboBoxCellEditor after it has
been created?
I've tried delaying the creation of the cell editors until all list data
is known. That didn't work.
I've also tried using ComboBoxCellEditor.setItems(String[]) but the list
doesn't seem to be affected by the call.
Thanks for any help!!
Regards,
Mike Wille
|
|
|
Powered by
FUDForum. Page generated in 0.06486 seconds