JComponentPack v3.6 Upgrade Guide


Q: After the upgrade from version 3.4, we noticed a significant change in the behaviour, we implemented the AbstractDataGridModel, it appears it doesn’t call the getCellAttributes() method on the model when it is repainting.
A:In the new version v3.6, the getCellAttributes() method in AbstractDataGridModel forward to:

public AttributeSet getCellAttributes(int row, int column) {
return getCellAttributes(row, column, false);

Then you need change to overwrite this method:

AbstractDataGridModel.getCellAttributes(int row, int column, boolean byReference);

We provide the new method to improve performance, the old method will copy attributes
every times on invoking.