I've spent a decent amount of time trying to get a panel to close
programatically but the solution escapes me. I'm sure this is a simple
thing but [utilityPanel setVisible: NO] gives a warning when I compile
and then I get an error 'selector not recognized' when I actually run
my app and try to close my panel.
-isVisible and -setVisible: are for views, not windows.
If I have a panel with an outlet to it in my AppController object,
what message can I send the panel to close/hide it?
-close or -orderOut:.
And how can I show
it when I want to make it visible again?
-makeKeyAndOrderFront: unless you don't want it to be the key view.