Re: Clicking dock icon... (Still no luck!)
Re: Clicking dock icon... (Still no luck!)
- Subject: Re: Clicking dock icon... (Still no luck!)
- From: Charles Bennett <email@hidden>
- Date: Wed, 21 Nov 2001 21:49:09 -0500
I'm afraid I have to agree that you are not getting the message.
I created a trivial java app and am seeing the same results.
appDidFinishLanuching and applicationDidBecomeActive arrive just fine, so I KNOW I'm the delegate but
applicationShouldHandleReopen() is never called when I click on the apps icon.
I re-created the same app in ObjC and it works just fine.
I suggest that you head over to the bug reporter.
I can figure out a work around, I'll let you know.
chuck
Mario Diana wrote:
>
>
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?
>
_______________________________________________
>
cocoa-dev mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev