• 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
Application Hang (Cocoa-Java)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Application Hang (Cocoa-Java)


  • Subject: Application Hang (Cocoa-Java)
  • From: Graham <email@hidden>
  • Date: Sun, 15 May 2005 10:56:51 -0400

Hi,

I realize I am probably the only person out here programming Cocoa in Java ;-), but here goes:

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. I am encountering a deadlock of some kind whereby when I click a tab to change the tabview, the tab partially highlights (gray) but does not go blue and the app is unresponsive at his point. The app only ever locks at this point, when a tab is clicked and only sometimes, so it's clearly a race/deadlock. I realize it may well be my logic relating to synchronized methods etc, but after 2 days of pulling out my hair I wondered if there are any Cocoa-Java specific gotchas I should be aware of?
Is anyone aware of issues regarding Cocoa and Java threads that cause repeated view updates and tabviews?



Kind regards,

Graham
_______________________________________________
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


  • Follow-Ups:
    • Re: Application Hang (Cocoa-Java)
      • From: Chris Hanson <email@hidden>
    • Re: Application Hang (Cocoa-Java)
      • From: Graham <email@hidden>
  • Prev by Date: Re: FSCopyObjectAsync: useless and crippled
  • Next by Date: Problem with adding localized help directory to Xcode 2.0
  • Previous by thread: Re: Inheritance from NSMutableArray
  • Next by thread: Re: Application Hang (Cocoa-Java)
  • Index(es):
    • Date
    • Thread