Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Change border color of selected row in JTable

amit3880May 23 2011 — edited May 24 2011
I want to change the border color of complete row on selection for JTable. I am trying to add cellrenderer for all cells but this seems not to be a nice and clean solution.
In short, I want to highlight the selected row by changing the border color of complete row.

Amit
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 21 2011
Added on May 23 2011
7 comments
2,681 views