Hi all. I've defined a custom TableModel so I can use custom types for my JTable. However, because of this, the table's TableColumnModel is totally out of sync with the model (ie. it isn't populated with any column data at all. No TableColumns or anything). This is annoying, since I need some reference to TableColumn objects (to do some column header rendering stuff).
Are there any good tutorials or examples that show how to ensure column models are in sync with custom table models, so that when you add data/columns to the model, they are also added to the column model?
I hope this post is clear.