JTable Rowborder?
I wanna make a lineborder for a WHOLE ROW ! Not only for one cell,.开发者_如何学JAVA. i have different cellrenderers but i wanna make a border around these cells in one row..
any idea? is there a DefaultRowRenderer, or something else?
Thanks a lot.
Table Row Renderering shows one approach for this without creating custom renderers.
If your cell renderer was smart enough not to draw the right hand side when in column 0, and not draw the left hand side when in column n - 1, then it would effectively look like a row border.
精彩评论