MultiDocumentPanel and AudioProcessorEditor together


#1

I’d like my AudioProcessorEditor to be a MultiDocumentPanel, but if i write a class that inherits both of them, i get confilcts with Component methods, and i can’t really make the multi document panel work. I was trying to call the class members resized() and paint() directly, but that didn’t help very much. Is there some clever way to do this without adding a wrapper component in the AudioProcessorEditor that actually holds the MultiDocumentPanel (i can’t think of any other way).


#2

Yeah, that wouldn’t make much sense as an inheritance hierarchy. But all you need to do is put the multidocpanel inside your editor component.