hello
I've got a class that implements TableModel and when loading an object of that class to a JTable I was hoping that I would see the Column Names of that table:
the following code appears in the class the implements TableMode:
private static String[] ColumnName = {"Number", "FileName", "LineNumber", "Error"};
@Override
public String getColumnName(int columnIndex) {
return CompilationErrors.ColumnName[columnIndex];
}
I've checked and this method is called as expected.
however : I don't see any column names
Anyone can help ?