Window, makeForegroundProcess

I know the documentation says it is not available on all platforms, but an assert would have been nice. So you are notified when calling a method that actually doesn’t do anything.

But a simple search led me to the solution, next to GetForegroundWindow() there is also a SetForegroundWindow() and that does what you would want.
So please consider adding this to the JUCE framework.