Hi, I'm having trouble creating a new NSWindow. The window appears but it can't get focus. Here's what I'm trying: EditorWindowController *windowController=[[EditorWindowController alloc] initWithWindowNibName"Editor"]; [[windowController window] becomeKeyWindow]; I've also tried using becomeMainWindow, but nothing works. I've googled the problem extensively and found some other people have had the same issue, but I couldn't find any answers. Anyone know what might be wrong? This is one of my first cocoa for mac apps, most of my cocoa experience is for iPhone OS, so I might be understanding something wrong.