model.addProgramTableModelListener(this);
mProgramTable.addPropertyChangeListener(new PropertyChangeListener() {
public void propertyChange(PropertyChangeEvent evt) {
if (evt.getPropertyName().equals("backgroundpainter")) {
BackgroundPainter painter = (BackgroundPainter) evt.getNewValue();
handleBackgroundPainterChanged(painter);
}
}
});
handleBackgroundPainterChanged(mProgramTable.getBackgroundPainter());