hi robin,
my code is this:
public
String getColumnName(int index) {
System.out.println(fieldInfo[index].getName().trim());
return (fieldInfo[index].getName().trim());
}
i can see that the corrct names gets written to the console, so i know it gets called.
i instantiate the jtable thusly:
TableModel tm = new TableModel(di, fi);
JTable jt = new JTable(tm);
jt.setAutoCreateColumnsFromModel(true);
tablePanel.add(jt);
can you spot any problems here?
sincerely
morten wilken