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 就是要改变的数据位置
tmp = "<html>" + " <input type=hidden value="+ aList.get(j)+">" + "<font color='red'>" + tmp + "</font></html>";
jt.setValueAt(tmp, i, j+2);先得到你要改变颜色的那行数据
完了 就按照我写的这个就行了
能看明白吧
i, j+2 就是要改变的数据位置
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货