JTable row highlighting
1 posts in topic
Flat View  Flat View

Posted By:   John_Smith
Posted On:   Friday, May 17, 2002 02:32 AM

How do I make Jtable so that when user clicks on a cell, it highlights entire row in one color with no 1 pixel spacing between cells and without drawing focus box around the current cell so that it looks like entire line spans across all colums?

Re: JTable row highlighting

Posted By:   Liam_Hudson  
Posted On:   Friday, May 17, 2002 02:46 PM

Turn off the table grid:

yourtable.setIntercellSpacing(new java.awt.Dimension(0, 0));

See a previous post in this forum for how to select the whole row.
About | Sitemap | Contact