Window management
Window management
- Subject: Window management
- From: Mitch Haile <email@hidden>
- Date: Mon, 25 Mar 2002 19:46:34 -0500
I'm having a problem in a document-less application I'm prototyping with
Cocoa using Java. Basically, the application shows a table (NSTableView) in
a main window. When a row is double clicked, I want to open a new window
showing details about the row, and be able to have multiple detail windows
open, with their text fields populated at runtime.
I have the window GUI layout in my nib file, as an instance of NSWindow.
I've gone this route because, from what I could tell, I cannot make a
subclass of NSWindow and then instantiate it from within Interface Builder.
So the question is, how does one create arbitrary instances of the window
definition from within the code at runtime? I did find the
JavaMultiWindowSample, and have read the NSDocument documentation, but
neither of these seem to fit the context of this problem.
Any pointers would be appreciated.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.