tags:

views:

60

answers:

1

Hello pip`s, I have a JTable in Java that has a custom dataMOdel and custom renderer. Now when i select some cell it has a dark blue border around it. I want the selected row to be all highlighted in some colour. How to do that?

+2  A: 

You have to use custom table cell renderer. Check out the tutorial here: http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#renderer

eugener