I am using JNI with cocoa and not having too many problems (except
for the memory leak discussed previously). For some cases, I've had
to create a carbon window to display some carbon UIs.
Unfortunately, they don't seem to respond to my mouse clicks or
other input when I display them. Has anyone else seen this? Is
there something obvious I might be forgetting, or missing about
carbon/cocoa interaction or about carbon in general? My impression
is that I don't need to setup a carbon event loop to handle carbon
events in a cocoa app because the cocoa app does it for me (Nothing
special seems to be happening in apple's CarbonInCocoa sample
code), but I don't know much about Carbon (or cocoa, for that matter).
Grugh! I was scratching my head over this all day yesterday and it
now looks like I just forgot to add kWindowStandardHandlerAttribute
to my carbon window. I will look into this some more and repost only
if I'm still having trouble. Sorry to have added to the noise floor.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden