String tmp = (String)jt.getValueAt(i, j+2);
tmp = "<html>" + " <input type=hidden value="+ aList.get(j)+">" + "<font color='red'>" + tmp + "</font></html>";
jt.setValueAt(tmp, i, j+2);先得到你要改变颜色的那行数据
完了 就按照我写的这个就行了
能看明白吧
i, j+2 就是要改变的数据位置