code: @Override
  	public String getColumnName(int column) {
  		try {
  			return metadata.getColumnLabel(column + 1);
  		} catch (SQLException e) {
  			e.printStackTrace(System.err);
  			return e.toString();
  		}
  	}
docs: This TableModel method returns columns names from the ResultSetMetaData