• 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
Re: Java NSApp question (from Newbie)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Java NSApp question (from Newbie) (From: Gavin Matthews <email@hidden>)

  • Prev by Date: Re: Validate a user entry
  • Next by Date: Re: getting file system types of /dev entries
  • Previous by thread: Java NSApp question (from Newbie)
  • Next by thread: Syntax Coloring...
  • Index(es):
    • Date
    • Thread