So I am in the process of creating an AU/VST plugin. I have overrided the lookandfeel class in the plugin editor.
In the editor constructor I have:
this works fine.
However, if I open two instances of the plugin and close one, on the close, the lookandfeel of the second plugin reverts back to the original and reverts to the original graphics. I am sure this can be fixed by calling setdefaultlookandfeel during the timercallback as I assume the problem is the default lookandfeel is set back to the original on bypassing the plugin. But, calling it every time the timercallback is called seems unnecessary.
I was wondering if anyone has any solutions.