I\'m trying to use an empty column as a divider between pairs of columns in a JTable
. Here\'s a picture and code for what I have so far. I know I can change the
Without knowing what do you want to show in this table it's hard to tell whether you've selected good solution or not.
Regarding this solution. This column does not seem like a divider. Paint it with gray/another color, or paint divider header cell in white.
But anyway I'd prefer JScrollPane + two tables inside it instead of this solution.