I am looking for a solution for a JTable where I can vary the number of columns in each row, but where the size (in pixels) of the row is constant.
I found stackoverflow referencing so far only dead-links to an old solution:
JTable with varying number of columns per row
Is there a newer better way to do it now ? If so, what? If not, does anyone know what the old solution was?
thanks.
Does anyone know what the old solution was?
The examples, which appear to have been created for a Swing beta release in the last millennium, may be found here. You may be looking for MultiSpanCellTable
. They may be a useful object of study, but they are not current. YMMV.