[myWindow orderFront: nil];Note that orderFront: takes an object argument so that it can be invoked as an action from a button or a menu item, but the argument is usually ignored, which is why we simply use nil for it.
If you want your window to be ordered front and to get the keyboard focus, you do:
[myWindow makeKeyAndOrderFront: nil];