• 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: Clicking dock icon... (Still no luck!)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clicking dock icon... (Still no luck!)


  • Subject: Re: Clicking dock icon... (Still no luck!)
  • From: Mario Diana <email@hidden>
  • Date: Wed, 21 Nov 2001 19:05:00 -0500

On Wednesday, November 21, 2001, at 06:56 PM, James Bredijk wrote:


You could catch the Apple Event ...

If eventClass = "aevt" And eventID = "rapp" Then ...


To keep with the metaphor, I don't think that ball is being thrown my way.

I have two different methods: 1) applicationShouldHandleReopen(), and 2) applicationDidBecomeActive(). I put a System.out.println() in each to see if they were receiving a message from the NSApplication and to verify that my class is, indeed, the delegate of NSApplication.

For the second method, I get confirmation in the Log -- it's getting a message and doing what I want. But, the first method gives me nothing. It seems like it's not getting any message at all.

That has me stumped. Anyone have any idea what's going on?


  • Follow-Ups:
    • Re: Clicking dock icon... (Still no luck!)
      • From: Charles Bennett <email@hidden>
References: 
 >Re: Clicking dock icon... (Still no luck!) (From: James Bredijk <email@hidden>)

  • Prev by Date: Re: Clicking dock icon... (Still no luck!)
  • Next by Date: multithreading textviews
  • Previous by thread: Re: Clicking dock icon... (Still no luck!)
  • Next by thread: Re: Clicking dock icon... (Still no luck!)
  • Index(es):
    • Date
    • Thread