how to obtain excel-like JTable headers
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.
精彩评论