*** TableCopyHtmlCommand.java Wed Nov 27 10:01:16 2002 --- TableCopyHtmlCommand.java.new Wed Nov 27 10:00:49 2002 *************** *** 49,61 **** int[] selCols = _table.getSelectedColumns(); if (selRows.length != 0 && selCols.length != 0) { - TableModel model = _table.getModel(); StringBuffer buf = new StringBuffer(); buf.append(""); for (int colIdx = 0; colIdx < nbrSelCols; ++colIdx) { buf.append(""); } buf.append("\n"); --- 49,60 ---- int[] selCols = _table.getSelectedColumns(); if (selRows.length != 0 && selCols.length != 0) { StringBuffer buf = new StringBuffer(); buf.append("
"); ! buf.append(model.getColumnName(selCols[colIdx])); buf.append("
"); for (int colIdx = 0; colIdx < nbrSelCols; ++colIdx) { buf.append(""); } buf.append("\n");
"); ! buf.append(_table.getColumnName(selCols[colIdx])); buf.append("