setting background color for a row

hello all,how can set a particular row with background color, say for button clicki will say the row number, than the that row should be colored.give me suggestionthanksdaya
[215 byte] By [dayanandabva] at [2007-10-3 4:06:17]
# 1
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html http://javaalmanac.com/egs/javax.swing.table/CustRend.html
sabre150a at 2007-7-14 22:05:44 > top of Java-index,Desktop,Core GUI APIs...
# 2
hello thanks for you are replay,any way i did it take suggestion from this forum itselfthanksdaya
dayanandabva at 2007-7-14 22:05:44 > top of Java-index,Desktop,Core GUI APIs...