Documentation for suggeseting the user call Component::setSize() at the end of the constructor

It’s not a problem I’ve encountered myself, but I’ve noticed a few new JUCE users who are either still using the GUI editor or are new to C++ and create GUI applications miss out on the fact that setSize will cause a crash with any null pointers as it calls resize().
Could the comments about calling setSize after adding all the child components be added to the New GUI Application code template or maybe even reflected in the setSize documentation?

Yes, that’s a good idea.