Re: Java NSApp question (from Newbie)
Re: Java NSApp question (from Newbie)
- Subject: Re: Java NSApp question (from Newbie)
- From: John Timmer <email@hidden>
- Date: Wed, 19 Dec 2001 10:26:40 -0500
NSApplication myApp =NSApplication.sharedApplication()
This is only useful after the application's been created during
initialization. If you're trying to do anything within the "main" function
or something called by that, be very careful about using this.
Jay
>
Hi,
>
>
Can anyone tell me how I can access the global object NSApp from a
>
Cocoa-Java Application?
>
>
Regards,
>
>
Gavin Matthews
>
_______________________________________________
>
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.