Hi!
How should I change the TableModel that extends AbstractTableModel to allow displaying empty data sets? Should the getValueAt method be chaged as follows?
public Object getValueAt(int row, int col) {
Object str = ((Object[]) cache.elementAt(row))[col];
if (str != null)
return str;
else return "";
}
...or something else should be define?
Thanks!