[HELP] Opening Panels in separate nibs using Java/Cocoa
[HELP] Opening Panels in separate nibs using Java/Cocoa
- Subject: [HELP] Opening Panels in separate nibs using Java/Cocoa
- From: "Mark Orchard" <email@hidden>
- Date: Fri, 13 Jul 2001 01:54:28 +1000
Hi,
Apologies if this question seems stupid or has been asked before but I
haven't seen a good explanation or example of it in the tutorials or docs
(probably missing something obvious here!).
I'm writing a single-window (non-document) Java/Cocoa application. From IB,
the main window (MainMenu.nib) has my own Controller that handles all the
actions/messaging etc. between UI items in the window. At this point I'd
like to implement some custom dialogs using NSPanels kept in separate nibs.
The question is, how do I load/unload and handle actions etc. for these
Panels residing in separate nibs from my main Controller class sitting in
MainMenu.nib.
Does this application now become a "multi-window (non-document)" now I'm
using separate nibs? Does the answer somehow now involve a
WindowController(s) or the "File's Owner" object?
The answer should seem obvious but somehow it's eluding me at the moment.
Thanks,
Mark Orchard
IT Network Specialist
Telstra