posted 17 years ago
Hi,
I have extended the AbstractCellEditor to have my own CellEditor.
In the
public Component getTableCellEditorComponent(JTable table,Object value,boolean isSelected,int row,int col)
Every time the col tht is clicked is the one which represents the table-columns, I get the table name from the adjoining column and populate the combo with all the columns for tht table.
I am pasting the code here,
Even numbered cols are the ones for Table-Columns and odd numbered are the Table Names.
Hope it makes things clearer.
The strength of the Wolf is the pack & the strength of the pack is the wolf....Rudyard Kipling