Setting the startup window

I have a header and a welcome screen set to open on startup. When the project is started the header has the focus. I am using the wiki help goodie to provide a help system when ‘F1’ is pressed. How can I set the focus to the ‘Welcome’ screen?

Try putting this script on the internalFrameOpened event of your window: