I have a rather deep layer of visual components:
three "MyTableModel"s, which are a class derived from Component and TableListBoxModel →
many "EditableTextCustomComponent"s (to make up the cell).
the EditableTextCustomComponent are created in refreshComponentForCell() by
..... textLabel = new EditableTextCustomComponent (*this); textLabel->setRowAndColumn (rowNumber, columnId); return textLabel;
My problem now is that if I change the text in the EditableText programmatically (e.g. in the AudioProcessorEditor.paint() callback), the cells do not get repainted. I trigger the paint by calling repaint() from a handleAsyncUpdate() callback, and I did verify that AudioProcessorEditor.paint() is called.
OTOH when I resize the window, the cells are immediately updated to the current text.
What am I doing wrong ?