loading nib from jnilib
loading nib from jnilib
- Subject: loading nib from jnilib
- From: Mary Waller <email@hidden>
- Date: Fri, 14 Feb 2003 09:25:36 +0000
I have a nib containing a NSPanel, which has as it's file owner a
subclass of NSWindowController.
If I load the nib from a Cocoa app it behaves just as I want, but if I
try and load it from a java application using objC in a jnilib I either
get the java app hanging or it exits with "exited due to signal 5
(SIGTRAP)" just after this:
- (id)init
{
if(self = [super initWithWindowNibName:@"NibName"]){
NSLog(@"WindowController - init called"); // this is printed out OK
return self;
}
Is it possible to load a nib from a jnilib?
What does NSApplication do that I'm not doing from the jnilib?
I tried writing it in Java, but you can't use AppKit classes from pure
Java so that fell flat :(
Yes I've bought the books - isn't mentioned!
mwaller
_______________________________________________
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.