Re: Application Hang (Cocoa-Java)
Re: Application Hang (Cocoa-Java)
- Subject: Re: Application Hang (Cocoa-Java)
- From: Graham <email@hidden>
- Date: Sun, 15 May 2005 21:05:28 -0400
Hi Chris,
I am calling setNeedsDisplay on various views on the tabs from the
secondary threads.
joar pointed me to documentation stating that secondary threads
should not call the display methods but instead should get the main
run loop to call these methods. I am still trying to determine the
best way to do this in Java within the constraints of my design. At
this point, however, I still don't know for sure what the problem is.
I did narrow it down to the hang happening when a view within the
tabview is switched away fro, and my view has a thread causing the
view to be updated.
Regards,
-Graham
On May 15, 2005, at 7:23 PM, Chris Hanson wrote:
On May 15, 2005, at 7:56 AM, Graham wrote:
I have an app with an NSTabView. Each view on the NSTabView has a
Java Thread that is used to populate the view with data from a
remote site.
Are you manipulating the Cocoa controls at all from your Java thread?
-- Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden