How to get scrollbars automatically?

Hi,
How can I create a component with inside it an other component that can be bigger then the parent component? Such that a scrollbar will automatically generated if needed.
I looked for a ScrollView component or so. But there isn’t.
Or can I just add a component to some other component and make the size bigger? Would that automatically create a scrollbar in the parent?

Try the ViewPort component

https://docs.juce.com/develop/classViewport.html