I found that the "MainWindow " class in the inherited juce application class have a “JUCEApplication& app;” member in some demos and others not. What’s the difference?
The “setContentOwned” function in the "MainWindow " class’s constructor, The first Component parameter are some come from the constructor’s parameter and others from the new operator. What’s the difference?
As for the "MainContentComponent " class 's private component member such slider and TextButton, some are apparently initialzied by the use of “new” operator in the "MainContentComponent " class 's constructor but the others don’t do so. How these Component are initialized?


