开发者

how to obtain excel-like JTable headers

开发者 https://www.devze.com 2023-01-22 01:37 出处:网络
I would like to create a JTable whose global layout would look somewhat like excel\'s. To get this result I used the Groupable Header\'s code from crionics.com, but as you can see components of the h

I would like to create a JTable whose global layout would look somewhat like excel's.

To get this result I used the Groupable Header's code from crionics.com, but as you can see components of the header are not aligned vertically.

Moreover, I would like to be able to write multi line text in the rows of the documents where it's needed, but I am not able to get both multi line cells, multi line header cells, and groupable columns to work at the 开发者_如何学Csame time.


Look into the JIDE Grids. If you are working for commercial project, it's cheaper to buy these kind of things than write them yourself.

0

精彩评论

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