开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜