• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[HELP] Opening Panels in separate nibs using Java/Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


  • Prev by Date: Re: Look And Feel
  • Next by Date: Re: Want to make changes to my UI, do I lose current code?
  • Previous by thread: Re: Want to make changes to my UI, do I lose current code?
  • Next by thread: Frameworks and global variables
  • Index(es):
    • Date
    • Thread