Layout manager in Juce or any third-party example code to look at?

You might check this thread out: