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
精彩评论