how to put a separator in a jtable java, or that a cell occupies all the columns

0

I need to put subtitles inside a jtable something like in the image:

[! [enter the description of the image here] [1]] [1]

Does anyone have any idea how it is done?

    
asked by nahuel 29.08.2017 в 19:09
source

1 answer

0

That is quite complicated. You need to create TableCellRender that controls the rendering of the cells. Although the jTable component was not created for this

    
answered by 30.08.2017 в 18:31