开发者

Can we paint a JTable cell partially?

Is it possible to paint开发者_StackOverflow中文版 a JTable cell alone partially?Like 40% of it is green remaining is red?


From what you say, I understand you want to do progress-bar like painting in a JTable cell. if so, you could be interested by those old Swing examples.


In a Jtable you can implement your own cellrenderer more on Jtables in

http://java.sun.com/docs/books/tutorial/uiswing/components/table.html

in the renderer you can paint anyway you want

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜