I tried -close which works (but it doesn't show up in the code
completion list). Both -orderOut and -makeKeyAndOrderFront yield the
'selector not recognized' error. Is there something else I can try?
Both of those take a sender argument, that is, [panel
makeKeyAndOrderFront:self];
Check the docs for NSWindow, from which NSPanel inherits all of these
interesting methods.