When I try to do a setVisible() on my child-components in a "main" component the program/plugin instantly crashes with a bad access code error. If I use the setVisible() method directly in the child components it works okay .. as a sidenote any attempt to access the pointer gives me a bad access code error.. a simple check if the pointer is a nullptr makes it go nuts as well :P
Are there any "laws" I should follow when I have a plugin with a "MainEditor" component that contains different "views" made up of child components that I want to set visible/invisible ? This was a little confusing, I could provide the actual code if it's necessary..
Any tips would be nice as I've literally just started testing JUCE and got stuck at this point already.. ;)