there is a table in which the data is output via the model, for columns there is also a model with its renderer, the table automatically changes the size of the columns when the columns change (add / delete a column name) the data in the table is updated using the model method fireTableStructureChanged (), everything works , but accordingly, if you change the width of the columns with your hands, then fireTableStructureChanged () cancels this case to its original state ..
read that if you set the table table.setAutoCreateColumnsFromModel (false); then it helps, indeed, the widths of the columns are preserved, but if you change the header / name of the column, it remains unchanged, in fact, the question of how you can affect the leader?
I tried it this way or that - the name of the column does not change, is there some simple way to solve this, so as not to add your own column resizer to all the manipulations?